Jump to content

Trying to get F16C to bomb ammo dump


PMcG

Recommended Posts

Hi,

 

I'm trying to get an F16 to bomb an ammo dump but its not engaging. What am I missing. Here`s the .MIZ file and code.

 

local HeliGroup = GROUP:FindByName( "F16C" )

local AmmoDump = STATIC:FindByName("AmmoDump")

local AmmoCoord = AmmoDump:GetCoordinate()

local AmmoPOS = AmmoCoord:GetVec2()

function assignTask(Tasks)

HeliGroup:TaskBombing(AmmoPOS,false,"ALL",1,90,15000)

end

timer.scheduleFunction(assignTask, {HeliGroup}, timer.getTime())

TaskAttackStatic.miz

Link to comment
Share on other sites

  • Recently Browsing   0 members

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