Forum Jump :

Author Message


Posts: 8
Rank:


Level: Member

Country: uk
Location: Wales
Occupation:
Age:
In-game name:

 
#1 Posted at 2011-12-02 23:06        
     
Hey guys, I've got a C130 to land in Zargabad using the Plane landAt ID command, and I want it to stop, turn it's engines off and let my troops disembark; but the plane lands, then taxis, then takes right off (and crashes 9/10 times!)! How do I make it stop and not take off again? :( Thanks.


Author Message


Posts: 1515
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2011-12-03 17:47        
     
name your C130 air

place the group in the cargo positions by using the code below in the leaders init
blue=group this;{_x moveincargo air} foreach units blue
blue will be the name of the group and the plane is just called air. You change the names as you wish.

Place a trigger of size 10,10 wher you want the plane to stop and group it to the c130 make sure the trigger is set to present and in the condition put this
this and getposATL air select 2 < 1
It checks that the c130 not flying or at least only a meter above the ground.

Place this in the triggers on act box
null = [] spawn {air setfuel 0;air animate ["door_1", 1];sleep 4;{unassignVehicle _x;_x action ["eject",air] ;sleep 0.5} foreach units blue};

it removes the fuel opens the door and ejects group blue from the plane.

This post was edited by F2kSel (2011-12-06 20:35, ago)


Advertisement


Author Message


Posts: 8
Rank:


Level: Member

Country: uk
Location: Wales
Occupation:
Age:
In-game name:

 
#3 Posted at 2011-12-06 19:06        
     
Thanks man! :D






Tags: C130, Landing