OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mephistopheles on 17 Jun 2004, 16:08:08
-
Hi, I am a COMPLETE newbie to editing, but I am in the middle of my first mission, and I was wondering how one can stop a unit form moving from its current position at all, and I mean literally spawning at the beginning, until death/end of mission?
Regards,
Mephistopheles
-
When placing the unit put this in his initialization field:
this disableai move
you have to be in the advance settting of the editor to see the initialization field when placing a unit
Hope this helps
-
Also you can use a hold waypoint right on the guy.
Also another bit of advice to keep him in a certain position.
this setunitpos "UP" = the guy stays standing
this setunitpos "DOWN" = the guy is prone
:gunman:
good luck editing....
-
ohh yeah put those bits of code in his init field.... ::) :P
-
Thanks very much, that was very useful!
Mephistopheles