OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: royalman51 on 25 Jun 2005, 18:41:29

Title: Making a soldier sit on a chair
Post by: royalman51 on 25 Jun 2005, 18:41:29
How can I make a soldier sit on a chair/ i already tied the switchmove "OnChair" command but that doesn't work. Neither does the switchmove "FxStandToDip" command for pushups.
Title: Re:Making a soldier sit on a chair
Post by: Planck on 25 Jun 2005, 18:49:40
unitname switchmove "onchair"

That should do it.

I think you need a chairX though.
Otherwise he will be sitting in midair.


Planck
Title: Re:Making a soldier sit on a chair
Post by: 456820 on 25 Jun 2005, 20:35:00
also some anims cant be played from init fields/scripts or waypoints so you have to play around to get the right way to activate it also you need to set the behaviour to safe i think