Jump to content

Recommended Posts

Posted

Hello Poly...

 

I did a recon script, very funny, you can check in the mission builders forum.

 

But to improve it, i would need to export two numbers. The heading of the viviane and the Laser range. Since those numbers are in the screen... They do exist, is there a posibility for you to make two functions like

 

Unit. getVivianeHeading('gazellename') returns the viviane's heading at the moment you call the function.

 

Unit. getVivianeLaserRange('gazellename') returns the laser range meassured by the viviane laser at the moment you call the function.

 

The idea is to create a triggerzone in that place, and get all units there. Then to send this information to create a task for an AI aircraft or escort helo.

 

The way i did the script is by getting all units that are line of sight in 15km, and filter by taking all the units that are in front of the Hellicopter.

 

There are two problems... If there are two groups in line and LOS... I have to discriminate them by getting the coordenates and so.. So. If you iu give me these tools i would be able to make a more elegant solution.

 

Thank you in advance.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...