OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: pertti49 on 28 Apr 2004, 15:33:48
-
command anim for soldier to knee and stay the position?
-
Perhaps a combination of the following (not in the init-field though... Find another way...):
doStop unit
unit setBehaviour "combat"
unit setCombatMode "yellow" (don't remember if this is needed...)
unit setUnitPos "up"
unit switchMove "crouch"
AI may stay on knee...
If that's for cut scene, you can use the behaviour as "careless" which would probably be better...
As always, I don't give any guarantees :P
-
oh thanks man I need that aswell...
do you know:
how to do that in " Prone " or lying down?? I cant seem to get it.
Thanks mate.
-
unit setUnitPos "down"
-
AI can only face the direction of " 0 " anyone know the solution?
Thanks.
-
It's a bug in 'doStop'... (afaik)
It makes the unit face North...
-
Lol, yea I just edited it abit getting rid of that and its fine now. The only crap thing is when using that crouch or standing, they dont shoot when infront of an object, they do but, not us much as when there's not an object there.
:'(
Xaio.