Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

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

 
#1 Posted at 2016-06-27 18:30        
     
pilot assignascommander fighter; [pilot] orderGetIn true

pilot assignasdriver fighter; [pilot] orderGetIn true

This works with ground vehicles, but I can't get it to work with aircraft.

Any help with this would be greatly appreciated.

P.S. I've double and triple checked to make sure I'm using the right names for the respective units.


Author Message


Posts: 6
Rank:


Level: Member

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

 
#2 Posted at 2016-08-07 01:50        
     
If you want him to run/jog/walk to the plane first of all he needs to be outside of it.

but first of all

Setup a Pilot, Plane, 1 Trigger, 1 or More EIs (Enemies)

-Set the Trigger with this (needs to have a radius).
1-Activation "OPFOR" (or who's your Enemy)
2-Detected by "BLUFOR" (or who's your Faction)

Leave the Trigger.
marker* = waypoint
1-Make a move marker for the pilot
2-Make a get in marker
3-Sync the Trigger (Sync not group) to the Move Marker (if the Pilot it's far away from the plane i recomend do a Move marker beside the Pilot, then put another move maker close to the plane then a get in, AI will move to the sync one.
4-Make the Pilot or any Friendlies inside the trigger spot the within, Enemy units.

Pic1
Pic2
Pic3

P.S: I know the pictures are from A3, that's why i said like was A2, it works the same but A3 it's more user friendly, if you're still having issues or u didn't understand from the text u can add me and i can show you visualy Here


Advertisement


Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 57
In-game name: Kobayashi Maru

 
#3 Posted at 2016-08-07 02:51        
     
pilot assignasdriver fighter; [pilot] orderGetIn true;
works fine for me! Just set the ammo cursor of the pilot to zero. (He doesn't need to fire at unit, just jump into the fighter... and crash somewhere).

A pilot is a driver. The code works even if fighter is locked or belongs to another "side" than pilot. That's the only abnormal thing.

This post was edited by Pierre MGI (2016-08-07 03:38, 443 days ago)

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS