OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: clunk on 02 Jan 2003, 14:16:24

Title: help in .sqs
Post by: clunk on 02 Jan 2003, 14:16:24
how do you make a unit "hold" a pose in an .sqs, _unit switchmove "CrouchToCombat" - how do i make the little dude hold that position cos all he wants to do is move at the end of the .sqs. do i do some kind of loop thing or what?

                                             
:) ta :)
Title: Re:help in .sqs
Post by: Captain Winters on 05 Jan 2003, 04:25:50
Yes you have to use this, buddy!

#loop
<unit> switchmove <action>
~0.01
goto "loop"

BOOM! It's done! it should work and have that punk do whatever you want him to do FOREVER! HAHAHAHAHAHA!
__________________________________
__________________________________
Capn' Winters Out!