OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: trinec on 09 Mar 2005, 23:41:52

Title: group getout not eject
Post by: trinec on 09 Mar 2005, 23:41:52
Is there a way to tell a group to getout of a vehicle not eject?

Thanks
trinec
Title: Re:group getout not eject
Post by: Flauta 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!
Title: Re:group getout not eject
Post by: trinec 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
Title: Re:group getout not eject
Post by: bedges on 10 Mar 2005, 00:21:22
Code: [Select]
{_x unassignVehicle vehicle_name} foreach units group group_name
Title: Re:group getout not eject
Post by: THobson 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