OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 17 Apr 2004, 19:08:49
-
Yo
ok i'm using this code for the AI to make him crouched:
this switchMove "Crouch"
but guess what... HE STANDS BACK UP!!!
so if u know how to stop it then plz let me know...
cheers, philly
-
Someone suggested putting this in the Init field, it works most of the time. But there kind of fixed to the spot:
DoStop This ; This DisableAI "Move"; This SetBehaviour "Combat"; This SwitchMove "CombatToCrouch"; This SetUnitPos "Up"
-
after using disableAI "move" you can not revert it, your unit will not move anymore...
-
Just place this in the units init field:
unitname setunitpos "down"
And I think it should work.. Good luck.