OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: sfc.itzhak on 19 Nov 2007, 18:48:31
-
hey all
wanted to ask is it possible to get the name of a unit like if i name it tank18 and i want
to make an init event that it will take the name and compere it to names in the sqs and
will apply other scripts by it.
to clarify :
i place a tank and name it tank18
the script need to read the units name and apply the other script which is assigned to the name tank18
thanks for the help.
-
Umm. The clarification didn't help me very much :D Maybe give us a more practical example? What are you trying to do with "tank18" exactly? What scripts are you using? Right now I don't think I can be of much help as it is. :dunno:
Wolfrug out.
-
This command might help: _vehiclename = vehicleVarName (vehicle player);
_vehiclename is returned as string.