Home   Help Search Login Register  

Author Topic: group commands  (Read 439 times)

0 Members and 1 Guest are viewing this topic.

Matt_Skillett

  • Guest
group commands
« on: 09 Feb 2003, 17:36:42 »
How do u put a group into a helicopter or other vehicle? I can do it the long way by putting movein... commands in each soldier's init line but i tried doing this "mypeople = units group this; mypeople moveincargo heli" with the helicopter obviously being called heli but it just comes up with an error saying it expects an object after the "moveincargo" bit and not an array? Please help!!

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:group commands
« Reply #1 on: 09 Feb 2003, 18:06:55 »
its

"_x moveincargo unitname" foreach units this;

and welcome to the forums
« Last Edit: 09 Feb 2003, 18:08:16 by Black_Feather »

Iwesshome

  • Guest
Re:group commands
« Reply #2 on: 09 Feb 2003, 18:08:33 »
Much simpler way...

Here you go. To load

1. Create a waypoint called "Get In" for your group.
2. Create a waypoint called "Load" for your vehicle
3. Synchronize them together

Here you go. To unload

1. Create a waypoint called "Get Out" for your group.
2. Create a waypoint called "Transport Unload" for your vehicle
3. Synchronize them together

That should do it for you....

Iwesshome

  • Guest
Re:group commands
« Reply #3 on: 09 Feb 2003, 18:10:12 »
Didn't see Black_Feathers response.....  8)

Either or should work for you.....