Jump to content
Sign in to follow this  
craptakular

turn helicopter lights on and point to a marker position?

Recommended Posts

I wish to spawn in a helicopter get it to move to a marker, turn its search light on and have the search light point towards a marker i have placed on the ground.

How do I get a helicopters light to point at a map marker?

Share this post


Link to post
Share on other sites

Hey,

right now it's impossible to make a chopper turn on its main lights as long as it's piloted by AI.

Feel free to check out the link to the corresponding ticket in my signature.

Cheers

Share this post


Link to post
Share on other sites

I put this in the waypoint of a helicopter to make it chase the player with it's spotlight on. Works best if you are in a fleeing vehicle. Maybe you can adapt it?

null = [] spawn {while {true} do { (driver heli1) action ["lightOn", heli1]; sleep 0.01;};}; 
null = [] spawn {while {true} do {_index = currentWaypoint group heli1; [group heli1, _index] setWaypointPosition [position player, 0]; sleep 1};};

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  

×