OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OFPWiZard on 02 Apr 2003, 11:35:54

Title: Question?
Post by: OFPWiZard on 02 Apr 2003, 11:35:54
I made pilots get in a chopper, (by a waypoint).

How do i make a group of 9 able to get in the chopper (without the waypoint, because the "get in" for the pilots is already over the chopper).

i tryed unitname assignAsCargo object, but is doesn't work....
Title: Re:Question?
Post by: Knut Erik on 02 Apr 2003, 11:50:47
You must use the assignascargo command.
Place unitname assignascargo choppername in the init fields of the units you want to board the chopper.

Then use :
[man1,man2,man3,man4,man5,man6,man7,man8,man9] ordergetin true

Hope this helps!  8)
Title: Re:Question?
Post by: OFPWiZard on 02 Apr 2003, 11:55:45
Heres what i have:

Person lives house (s1)
Rides to base
Dude walks over to chopper and activates a trigger
Trigger activates two pilots to run to a chopper and get in it.
also
two other pilots to get in another chopper
while they are running to the chopper, the trigger also makes 3 snipers join the dude (s1), also makeing a group of 9 walk over to the second choper that the 2nd pilots run to.
i want s1 and his men to be able to go in the chopper and the chopper of 9 be able to go in the 2nd chopper.
i can't make them have a waypoint to get in the chopper because the pilots already have a waypoint doing that.

bye
Title: Re:Question?
Post by: OFPWiZard on 02 Apr 2003, 12:06:10
HEY HEY HEY, i did something you said, changed it around and it worked :)

THANKS  ;)