OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Smokes on 22 May 2004, 22:15:14
-
K lol, this may sound stupid but idk how to make unit's sit on a chair..
I know the command line should be : Init field:
this switchmove "OnChair"
.. Right???
And i've also placed the unit next to the chair in the same direction.
Can u plz let me know, i couldn't find any examples in the faq
-
What exactly is the problem ???
-
THe problem is how do you do it.
Try
this playmove "chair" ?
this playmove "onchair" ?
Make sure the guy is in SAFE mode too.
All switcchmove animations are from res and playmove is from CWC.
-
Well the prob is, the guy wont sit on the chair, and he is in safe mode.. :s
Could any1 make like a mission where the guy does that..
For cwc 1.46
-
Y'cant have the playmove in a INIT field :)
You need to put it in a script or a trigger
Heres whadda do :
Name the unit something (For eg guy01)
Put a trigger, activated by anyone
In the activation field, put guy01 switchmove "OnChair"
Make sure the trigger is over the guy (Or anyone.. Change the size to something huge, like 100000 by 100000, so it will deffintly get activated)
Hit okay etc, preview the mission :)
Hope you understand ;)
- Ben
(BTW, inshort, just put the playmove thing in a trigger, with this replaced by the units name)
-
If you want to make a trigger fire immediatly, just write
true
in the Condition field.
You have to use a particular chair to make this one work, I can't remember which one so experiment or use the forum search function - this comes up from time to time.
-
I think the chair to use is chair X...
-
If you have 1.46 then I don't think you can use switchmove. Playmove only.
Isn't switchmove for RES?
-
Isn't switchmove for RES?
Nope...
It's been there since the beginning... (afaik)...