OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Insanoblan on 25 Sep 2003, 13:13:51

Title: Standing at attention
Post by: Insanoblan on 25 Sep 2003, 13:13:51
Hi there. Could you tell me the init line code for making a guy stand at attention or in safe mode?
Title: Re:Standing at attention
Post by: Knut Erik on 25 Sep 2003, 13:43:48
There is a complete switch/play move list here (http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=1&catselected=1_-1&category=1&subcategory=1_-1&numreturn=25&displayformat=0&ofpv=1&searchstring=move&searchwhat=1&searchlevel=0&searchopts=)

Check it out  ;)
Title: Re:Standing at attention
Post by: macguba on 25 Sep 2003, 14:12:29
But a lot of them don't work in the init line, you have to put the command in a trigger, waypoint, script, etc..
Title: Re:Standing at attention
Post by: GrimMonkey on 25 Sep 2003, 16:29:03
Maccys right,
Not that many (from my knowledge) commands are able to operate in a unit's init line.

The syntax is: this SwitchMove FXStandAtt,
to be more specific :D.

To cange behaviour use this: this SetBehaviour "Safe"
Behaviour should be spelled that way and you can change what's in 'Safe' to whatever mode you want.


Beware the GrimMonkey