OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: timmylondon on 17 Jan 2003, 13:28:26
-
Hello,
How can I give waypoints for units created using script (createunit and createvehicle)?
I used game logics as their positions.
Thanks,
Timmy
-
create a unit in the mission editor, and give this unit the waypoints you want the units created with the scirpt must follow and in the initfield of the unit write
GoupName (you use to create the new units) = group this; deleteVehicle this;
When you now create the units the units will follow the waypoints.
Ottie
-
or you could do
domove player [x,y,z]