Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Common question
« previous
next »
Send this topic
Print
Pages:
1
2
[
All
]
Go Down
Author
Topic: Common question (Read 5431 times)
0 Members and 1 Guest are viewing this topic.
seanver
Guest
Common question
«
on:
20 Aug 2002, 18:51:17 »
How do I make a unit sit on a chair?
Logged
T.S.C.Plage
Guest
Re:Common question
«
Reply #1 on:
20 Aug 2002, 19:52:35 »
The unit behaviour must be set "careless" (waypoint or initline).
In the next waypoint (the chair) write this in "OnActivation":
this SwitchMove "Commander"
or
this SwitchMove "FXStandUnivTable" (that's what I prefere)
or
this SwitchMove "OnChair"
Of course you can also use this in a script but I think it doesn't works with triggers.
Hope this will help...
Greetz
Plage
«
Last Edit: 20 Aug 2002, 20:13:38 by T.S.C.Plage
»
Logged
KTottE
Former Staff
Re:Common question
«
Reply #2 on:
20 Aug 2002, 19:54:08 »
Edit
Already answered, so nevermind me.
«
Last Edit: 20 Aug 2002, 19:54:41 by KTottE
»
Logged
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
seanver
Guest
Re:Common question
«
Reply #3 on:
21 Aug 2002, 14:21:34 »
That does not work well, the guy doesn't sit on the chair. He sits either on the right, or on the left or even about 1 meter over the chair.
Logged
KTottE
Former Staff
Re:Common question
«
Reply #4 on:
21 Aug 2002, 14:24:28 »
unitName switchMove "OnChair"
Works for me.
Logged
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
seanver
Guest
Re:Common question
«
Reply #5 on:
21 Aug 2002, 14:34:38 »
Nothing, it does NOT work for me. The guy doesn't sit on the chair well.
Logged
KTottE
Former Staff
Re:Common question
«
Reply #6 on:
21 Aug 2002, 14:53:43 »
Post your mission here, and I will take a look at it.
Logged
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
seanver
Guest
Re:Common question
«
Reply #7 on:
21 Aug 2002, 15:06:30 »
I have nothing done, I've just started that mission. So if you want, post a mission where the guy sits well to see what I'm doing wrong
Logged
KTottE
Former Staff
Re:Common question
«
Reply #8 on:
21 Aug 2002, 15:10:56 »
Okay, but first you need to tell me what version of OFP you have. Do you have Resistance?
Logged
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
Sefe
OFPEC Patron
Former Staff
Re:Common question
«
Reply #9 on:
21 Aug 2002, 15:11:18 »
Hve you set the unit's behaviour to "SAFE" first?
Logged
KTottE
Former Staff
Re:Common question
«
Reply #10 on:
21 Aug 2002, 15:12:07 »
omg, do I feel stupid. I didn't even think of that.
Better yet, set him to "CARELESS".
Logged
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
seanver
Guest
Re:Common question
«
Reply #11 on:
21 Aug 2002, 15:14:49 »
Yeah, I have resistance.
And yes, I have set the behaviour to safe. And i tried careless too
«
Last Edit: 21 Aug 2002, 15:21:51 by SeAnVeR
»
Logged
Navy_Seals
Guest
Re:Common question
«
Reply #12 on:
21 Aug 2002, 16:12:02 »
Hey guys, guys
what all resistance talk is about. Ain't u forgeting something, eh?!
First of all u should use our famous Chair X so the guy will be able to normaly sit down and to make the guy sit use unitname SwitchMove "FXStandUnivTable" Hope that helps, cheers
Logged
KTottE
Former Staff
Re:Common question
«
Reply #13 on:
21 Aug 2002, 16:15:44 »
I am trying it with Chair X right now, not working. I think it's related to Resistance.
Edit:
It wasn't.
I've tried it in 1.46 as well. Damnit, why isn't this working?
«
Last Edit: 21 Aug 2002, 16:22:32 by KTottE
»
Logged
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"
seanver
Guest
Re:Common question
«
Reply #14 on:
21 Aug 2002, 16:42:00 »
With the chair x it worked a little bit better, but it aint enough
«
Last Edit: 21 Aug 2002, 16:42:35 by SeAnVeR
»
Logged
Navy_Seals
Guest
Re:Common question
«
Reply #15 on:
21 Aug 2002, 17:23:22 »
[This Attachment has been Deleted By Routine Maintenance]
Logged
seanver
Guest
Re:Common question
«
Reply #16 on:
21 Aug 2002, 17:28:35 »
Good job, man. At ease. And thanks
Logged
seanver
Guest
Re:Common question
«
Reply #17 on:
22 Aug 2002, 01:28:48 »
I am back!!!! ;D Other question. Now that my heroe sits on a chair, how can I make him stand up?
Logged
Black_Feather
Former Staff
I'll never forget you Daisey.
Re:Common question
«
Reply #18 on:
22 Aug 2002, 01:52:42 »
unitname switchMove "FXStandFromTable"
Logged
seanver
Guest
Re:Common question
«
Reply #19 on:
22 Aug 2002, 20:26:44 »
Hi again. Other problem with this. Once the guy stands up, he doesn't move. I've tried waypoints as well as "domove" commands to move to a gamelogic.
Logged
Black_Feather
Former Staff
I'll never forget you Daisey.
Re:Common question
«
Reply #20 on:
22 Aug 2002, 20:49:53 »
try using playmove instead of swithcmove, if it doesn't work just use this
unitname switchMove ""
Logged
seanver
Guest
Re:Common question
«
Reply #21 on:
22 Aug 2002, 20:55:01 »
they didn't work
Logged
Black_Feather
Former Staff
I'll never forget you Daisey.
Re:Common question
«
Reply #22 on:
22 Aug 2002, 21:00:47 »
its ok for me, you'll have to do it through a script and not a waypoint though.
Logged
seanver
Guest
Re:Common question
«
Reply #23 on:
22 Aug 2002, 21:09:26 »
I've solved it: ive created a "clone" of the guy so I teleport the guy who is sat on the chair and put the clone standing up instead. I guess I'm not going to have problems with this so topic solved
Logged
Send this topic
Print
Pages:
1
2
[
All
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Common question
Top of page