Jump to content

Trying to get F16C to bomb ammo dump


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 post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...