Replace deprecated API usage.

This commit is contained in:
Paul Chote
2020-06-10 22:14:52 +01:00
committed by reaperrr
parent 27602a4a97
commit e5a1a8a706
36 changed files with 61 additions and 61 deletions

View File

@@ -123,8 +123,8 @@ WorldLoaded = function()
-- When destroying the allied radar dome or the refinery drop 2 badgers with 5 grenadiers each
Trigger.OnAnyKilled({ AlliedDome, AlliedProc }, function()
local powerproxy = Actor.Create("powerproxy.paratroopers", true, { Owner = player })
powerproxy.ActivateParatroopers(ParadropLZ.CenterPosition, Facing.South)
powerproxy.ActivateParatroopers(ParadropLZ.CenterPosition, Facing.SouthEast)
powerproxy.TargetParatroopers(ParadropLZ.CenterPosition, Angle.South)
powerproxy.TargetParatroopers(ParadropLZ.CenterPosition, Angle.SouthEast)
powerproxy.Destroy()
end)
end