Jump to content
Sign in to follow this  
slendermang

Units not disembarking helicopter correctly?

Recommended Posts

I have a trigger setup which plays a helicopter with my recorded flight path. When this is activated it will also loadup a squad of infantry who have a waypoint set to Search and Destroy, my problem is the AI will disembark the helicopter but then quickly try to get back in, I have no idea why they're doing this and I've tried to lock the helicopter and assign them as cargo but they still do it. Any ideas?

 

 

My placed triggers in the editor

Condition: triggerActivated phase4;

On Activation: hip1 engineOn true;{_x enableSimulationGlobal true; } forEach [q1,q2,q3,q4,q5,q6,q7,q8]; {_x moveInCargo hip1; } forEach [q1,q2,q3,q4,q5,q6,q7,q8];   {_x assignAsCargo hip1; } forEach [q1,q2,q3,q4,q5,q6,q7,q8];

0 = execVM "hip.sqf"; hint "ja ja"

 the contents of hip.sqf

hip1 engineOn true; rec = [] spawn Mypath; uiSleep 102; {_x action ["getOut", hip1]; } forEach [q1,q2,q3,q4,q5,q6,q7,q8]; hip1 lockCargo true;

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  

×