OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Raven on 11 Oct 2003, 17:10:06
-
Hi Guys
A small problem, is there a way to get a unit to kneel down, stay in that postion and still use his weapon, everytime i try, he kneels and gets stright back up again.
-
Raven,
Here is the code to make units kneel... just pop it all in teh Init feild of the uniy...
this setBehaviour "combat";this setUnitPos "up";this switchMove "combattocrouch"
I know it works.. if it doesnt let me know ;D
Rhys
Thanks to IWESSHOME for the above syntax ! Submitted to me a while back.
-
Cheers Rhysduk, it worked a treat.
Thats why I love being part of this forum, always someone out there who knows an answer.
;D ;D ;D ;D