OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: knepo on 29 Oct 2002, 23:53:33

Title: stand on knees
Post by: knepo on 29 Oct 2002, 23:53:33
how can i make a unit stand on his knees.
like (this setunitpos "up") :-\
Title: Re:stand on knees
Post by: Black_Feather on 30 Oct 2002, 19:38:36
put this in the units init

this setbehaviour "combat"; this switchmove "combattocrouch"; this setunitpos "up";
Title: Re:stand on knees
Post by: Guru on 31 Oct 2002, 10:04:05
this setunitpos "up";this switchmove "combattocrouch"
-
i found that this in units init
without a waypoint or a setbehaviour command or a setcombatmode command.
keeps him crouched and not moving if thats what ur looking for.
however as soon as enemies appear he will move ,hit the dirt, or someother action.
as the AI will kick-in, unless you disable the AI as well.
of coarse you can turn all those settings back on with a trigger, until a condition is met.IE. WEST present
Title: Re:stand on knees
Post by: knepo on 31 Oct 2002, 23:44:36
thanks :D, i'll try it.