OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: punisher on 12 Nov 2007, 17:03:34
-
hi
i was wanting squads to charge up a beach area, and not stop along the way. So i was wondering how i would get them to stay stould up and not go prone when underfire. once they clear the beach they could go back to normal again
-
Well, setUnitPos (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=s#setUnitPos) "Up" would keep them standing up at all times.
and maybe with setSpeedMode (http://www.ofpec.com/COMREF/OFP/index.php?action=list&game=All&letter=s#setSpeedMode) set to full it would make them appear to be charging up the beach.
edit:
Gah, forgot the "Up"