Home   Help Search Login Register  

Author Topic: group getout not eject  (Read 701 times)

0 Members and 1 Guest are viewing this topic.

Offline trinec

  • Members
  • *
  • I'm a llama!
group getout not eject
« on: 09 Mar 2005, 23:41:52 »
Is there a way to tell a group to getout of a vehicle not eject?

Thanks
trinec

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:group getout not eject
« Reply #1 on: 09 Mar 2005, 23:49:11 »
of course!

Code: [Select]
<Soldier> action ["getout"] <car>
or something like that, find it in the Oficcial command Referens.. :p


Salute!

Offline trinec

  • Members
  • *
  • I'm a llama!
Re:group getout not eject
« Reply #2 on: 09 Mar 2005, 23:54:10 »
So do you have to put            <Soldier> action ["getout"] <car> for every unit or can you use it with a group command like( for each unit group this) something like that

trinec

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:group getout not eject
« Reply #3 on: 10 Mar 2005, 00:21:22 »
Code: [Select]
{_x unassignVehicle vehicle_name} foreach units group group_name
« Last Edit: 10 Mar 2005, 00:22:04 by bedges »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:group getout not eject
« Reply #4 on: 10 Mar 2005, 08:14:51 »
I use the unassignVehicle instruction bedges mentioned.  One thing to watch though is that if you are doing this to the original crew of a vehicle they will just get back in again.  To prevent that you nee to use allowGetIn false
« Last Edit: 10 Mar 2005, 08:15:52 by THobson »