OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 11 Feb 2005, 10:07:54

Title: fire/soldier
Post by: 456820 on 11 Feb 2005, 10:07:54
simply how can i make a soldier sit down
Title: Re:fire/soldier
Post by: macguba on 11 Feb 2005, 10:57:16
Switchmove/playmove animiations.      Reference list and demo mission in the Editors Depot - tutes - references.
Title: Re:fire/soldier
Post by: bedges on 11 Feb 2005, 11:00:57
i suggest you find the switchmove/playmove tutorials, especially AK Chester's (http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&catselected=-1_-1&catagory=-1&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&searchwhat=1&searchlevel=0&searchwhat=1&searchopts=&searchstring=switchmove),  which has an excellent mission showing each and every animation your loons can perform.

i'm in a helpful mood though, so

Code: [Select]
loon_name switchmove "EffectStandSitDownStill"
will make your loon do what you need.

Title: Re:fire/soldier
Post by: Silencer on 11 Feb 2005, 11:03:03
Make a unit and name it:  unit1
Make a trigger and put this in it  "On Activation" field:

unit1 switchmove "StandToSitDown"

You could make it triggered by radio alpha or something!

Good luck
Title: Re:fire/soldier
Post by: 456820 on 11 Feb 2005, 11:56:56
right i havent tried it yet but i trust you that it will work so thanks