Jump to content
Clutchin'

Trying to get AI UAV team to bomb a certain location

Recommended Posts

I set up an enemy encampment and I spawned in the special forces UAV team. I set a "destroy" waypoint on the camp, but when I start the sim the UAV team does nothing but stand around, how can I fix this and achieve the wanted result?

Share this post


Link to post
Share on other sites

Which kind of UAV are you using and what type specifically?  Ah Wait I see apologies 😅.

The "destroy" waypoint isn't meant to be used for fire missions like you described and I'd recommend scripting something like that manually with a command like fireAtTarget. I also found this carpet bomb script which I thought you may be interested in.

Share this post


Link to post
Share on other sites

once revealed maybe place a LaserTargetW on the pos of current target so ai have additional opportunities to fire missiles, bombs. 

_lasers = missionnamespace getvariable ["SAVEDLASERS",[]]; 
{ _target = _x; 
 _laser = "LaserTargetW" createVehicle position _target; 
 _laser attachto [_target, [0,0,1]]; 
 _lasers pushback [_laser,_target]; }foreach (allunits select {(side _x) == east}); 
missionnamespace setvariable ["SAVEDLASERS",_lasers]; 
//to delete 
{ _laser=_x select 0; _unit=_x select 1; if(!alive _unit)then{deletevehicle _laser;}; }foreach _lasers
  • 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

×