I have created an object in a certain coordinate using the "createvehicle" command and i want to name it so it can perform a task defined in a script. Of course i could add the object directly in the mission and name it there and after that it could perform the task, but i don't want to make it that way. It has to be created or camcreated and then named. Is there any command to name a camcreated object in a mission?
Here a code sample of what i'm using:
_cord = [1121.944946,3956.699951,1]
_l = "elevator" createvehicle _cord
_l setdir 180.000000
;_l Name / Text is" "
_l exec "\fml_isleobj\scripts\start.sqs"