Jump to content
Sign in to follow this  
essemm

AI Helo pilot

Recommended Posts

Hey folks. Let's say I create an MH6 helicopter unit, and name it chopper1.

I have chopper1 fly a few waypoints, and then I would like to get the helo to land and the pilot to get out and go to a certain spot. I can get the pilot out with a "Get Out" waypoint, and I can then set a move waypoint.

But then, I'd like to have a trigger that will send the pilot back to the helo to do some more flying. How do I then address the pilot? Is the pilot then called chopper1?

Share this post


Link to post
Share on other sites

You should first create the pilot, than an empty chopper.

That way you can name the pilot and the chopper.

Share this post


Link to post
Share on other sites

pilot1 = driver chopper1

You could just have a get in waypoint though. Synchronize the trigger with the previous waypoint to have the pilot wait there.

Share this post


Link to post
Share on other sites

Flashpoint actually creates an array containing two elements for a sided vehicle. One is the vehicle identity which still applies even when no user applied name is given and the other is for the driver/pilot. Gunners also are included in relevant vehicles.

If you create a Blackhawk which isn't empty and call it mychopper you can still directly access the crew by using the following code:

_thing1 = mychopper select 0

_thing2 = mychopper select 1

Where _thing1 or _thing2 will return the driver but I cant remember which it is. From there you can unassign him from the vehicle, make him join a group, disappear or whatever you want just as if he were an ordinarily defined soldier.

Don't think just because he's a default assigned driver he is now non-accessible because he still is wink_o.gif

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  

×