use the new facing global
This commit is contained in:
committed by
abcdefg30
parent
59a5eb4937
commit
05229e79ce
@@ -46,7 +46,7 @@ SendGDIAirstrike = function()
|
|||||||
local target = getAirstrikeTarget()
|
local target = getAirstrikeTarget()
|
||||||
|
|
||||||
if target then
|
if target then
|
||||||
Radar.SendAirstrike(target, false, 256 - 28)
|
Radar.SendAirstrike(target, false, Facing.NorthEast + 4)
|
||||||
Trigger.AfterDelay(AirstrikeDelay, SendGDIAirstrike)
|
Trigger.AfterDelay(AirstrikeDelay, SendGDIAirstrike)
|
||||||
else
|
else
|
||||||
Trigger.AfterDelay(AirstrikeDelay/4, SendGDIAirstrike)
|
Trigger.AfterDelay(AirstrikeDelay/4, SendGDIAirstrike)
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ Atk3TriggerFunction = function()
|
|||||||
local target = targets[DateTime.GameTime % #targets + 1].CenterPosition
|
local target = targets[DateTime.GameTime % #targets + 1].CenterPosition
|
||||||
|
|
||||||
if target then
|
if target then
|
||||||
Radar.SendAirstrike(target, false, 256 - 28)
|
Radar.SendAirstrike(target, false, Facing.NorthEast + 4)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -161,9 +161,9 @@ FrenchReinforcements = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
powerproxy = Actor.Create("powerproxy.parabombs", false, { Owner = allies })
|
powerproxy = Actor.Create("powerproxy.parabombs", false, { Owner = allies })
|
||||||
powerproxy.SendAirstrike(drum1.CenterPosition, false, 256 - 28)
|
powerproxy.SendAirstrike(drum1.CenterPosition, false, Facing.NorthEast + 4)
|
||||||
powerproxy.SendAirstrike(drum2.CenterPosition, false, 256 - 32)
|
powerproxy.SendAirstrike(drum2.CenterPosition, false, Facing.NorthEast)
|
||||||
powerproxy.SendAirstrike(drum3.CenterPosition, false, 256 - 36)
|
powerproxy.SendAirstrike(drum3.CenterPosition, false, Facing.NorthEast - 4)
|
||||||
powerproxy.Destroy()
|
powerproxy.Destroy()
|
||||||
|
|
||||||
Trigger.AfterDelay(DateTime.Seconds(3), function()
|
Trigger.AfterDelay(DateTime.Seconds(3), function()
|
||||||
|
|||||||
Reference in New Issue
Block a user