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
) »
How do you get a unit into a vehicle with a script?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How do you get a unit into a vehicle with a script? (Read 599 times)
0 Members and 1 Guest are viewing this topic.
Skumball
Members
How do you get a unit into a vehicle with a script?
«
on:
09 Nov 2002, 00:15:54 »
I'm trying to do (almost) everything with scripts so is this possible?
Logged
Ranger
Members
Hoo-ah!
Re:How do you get a unit into a vehicle with a script?
«
Reply #1 on:
09 Nov 2002, 00:22:00 »
Sure, it's quite possible. Let's call your unit
man1
. Let's say he's trying to get into a HMMWV named
hummer1
. Your code would be as follows:
man1 assignAsCargo hummer1
[man1] orderGetIn true
Logged
Ranger
Skumball
Members
Re:How do you get a unit into a vehicle with a script?
«
Reply #2 on:
09 Nov 2002, 01:57:32 »
great! thanks!
Logged
Black_Feather
Former Staff
I'll never forget you Daisey.
Re:How do you get a unit into a vehicle with a script?
«
Reply #3 on:
09 Nov 2002, 07:02:13 »
you can also make him get in instantly with
man1 moveinCargo hummer1
Logged
Totibbs
Guest
Re:How do you get a unit into a vehicle with a script?
«
Reply #4 on:
11 Nov 2002, 00:05:51 »
and how can I let him go out?
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
How do you get a unit into a vehicle with a script?
Top of page