OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ryankaplan on 22 Aug 2004, 18:44:06

Title: making a soldier sit on a chair
Post by: ryankaplan on 22 Aug 2004, 18:44:06
i've seen this done. i tried some animations you can use with the switchmove command, but the soldier doesn't seem to want to sit on the chair itself. how can i do this?
Title: Re:making a soldier sit on a chair
Post by: Planck on 22 Aug 2004, 18:51:43
This has been answered before, you should try a search.

Basically I think you need to use chairX.


Planck
Title: Re:making a soldier sit on a chair
Post by: C0LDSt33L on 22 Aug 2004, 19:44:57
As Planck says you gotta use chairx or the guy will shuffle out of his seat. the command is:

Code: [Select]
bloke switchmove "OnChair"
This won't work in the initialisation field of the unit in question though. You've got to put it in a trigger.