OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: titan on 22 Apr 2003, 01:16:01
-
how cld i make someone sit at the very start of a mission using the switchmove command with "effectstandtosit".
I tried putting it in the init field of a unit but it doesnt work, and i dont want to put it into triggers! any ideas!
-
Type in the Init Box of the unit you want to sit:
[this] Exec "SitDown.sqs"
Then create a script file called SitDown.sqs (with notepad or such program) and type:
_Unit = _This Select 0
_Unit SwitchMove "EffectStandSitDown"
Then save the SitDown.sqs file in your mission folder.
You can also write in the place of "EffectStandSitDown", "EffectStandSitDownVer1" or "EffectStandSitDownVer1"
hope this helps You
-
I have a feeling it doesn't work in the init field. Put a waypont right on top of him and put it in the waypoint. You'll have to use the loon's name rather than "this" obviously.