Jump to content
Sign in to follow this  
Bouben

Problem with get out commands...

Recommended Posts

Hi,

every time I execute a script via trigger which makes a group disembark they will immediately get order from their leader to board a vehicle again even if leader is out of the vehicle too. I tried unassigning them from the vehicle, I have also tried ordergetout and getout and eject commands...

How to make the group disembark and never get in again? I don't recall these problems back in OFP days.

Thank you in advance for a simple solution (no waypoints, please, as they are not good for my current mission).

Share this post


Link to post
Share on other sites

How can I accept Secondary Operations? The HQ ask me to do a quest but I don't know how to accept it and they call me again in a sort time and tell me they will handle it...

Share this post


Link to post
Share on other sites
Hi,

every time I execute a script via trigger which makes a group disembark they will immediately get order from their leader to board a vehicle again even if leader is out of the vehicle too. I tried unassigning them from the vehicle, I have also tried ordergetout and getout and eject commands...

How to make the group disembark and never get in again? I don't recall these problems back in OFP days.

Thank you in advance for a simple solution (no waypoints, please, as they are not good for my current mission).

Un-assign them from the vehicle they won't get back in.... unAssignVehicle

Ooops...sorry! Didn't see that you tried that. Hmmmm ...that always works for me.

Share this post


Link to post
Share on other sites

Thanks for your input, guys! I'll try that and write back my results.

I still wonder though, how come this is happening anyway? What was changed in this particular case from OFP times (or first Arma times?)?

Share this post


Link to post
Share on other sites

So I've tried this script and...it does not work.

[b]skupina = group leader this[/b] // a unit's init

[b]{unAssignVehicle _x; _x action ["eject",tank]} forEach units skupina; {_x allowGetin false} forEach units skupina;[/b] // a trigger

The crew will eject a tank but instantly get back in.

Share this post


Link to post
Share on other sites

This works for me.

skupina = group leader this ;{unAssignVehicle _x; _x action ["eject",tank];[_x] allowGetin false} forEach units skupina;

If you didn't get any error warning you may want to check out this http://forums.bistudio.com/showthread.php?121163-Script-not-working-Use-the-showScriptErrors-parameter!

Edited by F2k Sel

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×