name your plane, then in the planes init place:
Code:
this setCaptive true;
place your AA gun of choise name it, and place this in its init:
Code:
this doWatch planeName;
now in your trigger place this:
Code:
planeName setCaptive false;
AAGunName doTarget planeName;
_null = planeName spawn {
waitUntil {!canMove _this};
[player, ((getPos _this select 2)+2)] exec "ca\air2\halo\data\Scripts\HALO_init.sqs";
};
this should make aa target you once you activate the trigger, and shoot when ready, and when plane cannot move, (damaged, cannot fly anymore) you will auto halo from 2 meter above the plane.
play around with it and look up commands on wiki if you need to change something.