Jump to content
Sign in to follow this  
Kreu

Make AI drone mark enemy infantry for the Player

Recommended Posts

I want a darter to target enemy AA infanty with its laser for the player.
Drone name = dr1

Enemy AA soldier name =  e1

The drone is succesfully spotting the AA soldier.

I then execute following script:

dr1 reveal [e1, 4];

dr1 doTarget e1;

[dr1, "Laserdesignator_mounted"] call BIS_fnc_fire;

 

The AI starts firing its laserdesignator but it won't target the soldier.
lookAt and doWatch didn't work either. I also tried:  dr1G doTarget e1;

with no success


Is there anything else i can try?

Share this post


Link to post
Share on other sites

What is it exactly that you want to achieve? Must it be the drone that targets the unit, or do you just want the unit targeted with a laser? 

 

If it's the latter, then you could just create a laser, and attach it to the AA unit. 

  • Like 1

Share this post


Link to post
Share on other sites
11 minutes ago, stburr91 said:

What is it exactly that you want to achieve? Must it be the drone that targets the unit, or do you just want the unit targeted with a laser? 

 

If it's the latter, then you could just create a laser, and attach it to the AA unit. 

Yeah i just found that solution. Didn't know you can even create lasertargets.  Everything is working now. Thanks for the answer 🙂

  • Like 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  

×