OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GI-YO on 04 Jun 2005, 18:11:53

Title: sit down
Post by: GI-YO on 04 Jun 2005, 18:11:53
just a quickie, how do you get people to sit down on chairs? Thanks in advance

GI-YO
Title: Re:sit down
Post by: MrN on 04 Jun 2005, 19:11:29
dude setbehaviour "safe"
dude setPos [getPos chair select 0, getPos chair select 1]
~1
dude switchmove "onchair"

Unit named "dude", chair named "chair"  ::)

This is how I have done it in the past. Worked for me.  ;)
Title: Re:sit down
Post by: GI-YO on 05 Jun 2005, 20:06:25
Thanks that did the trick.:thumbsup:

GI-YO