Replace deprecated API usage.
This commit is contained in:
@@ -17,16 +17,16 @@ EnemyBaseEntranceShroudTrigger = { CPos.New(80, 73), CPos.New(81, 73), CPos.New(
|
||||
|
||||
SendUSSRParadrops = function()
|
||||
paraproxy1 = Actor.Create("powerproxy.paratroopers", false, { Owner = player })
|
||||
paraproxy1.ActivateParatroopers(ParachuteBaseEntrance.CenterPosition, Facing.North)
|
||||
paraproxy1.TargetParatroopers(ParachuteBaseEntrance.CenterPosition, Angle.North)
|
||||
paraproxy1.Destroy()
|
||||
end
|
||||
|
||||
SendUSSRParadropsBase = function()
|
||||
paraproxy2 = Actor.Create("powerproxy.paratroopers2", false, { Owner = player })
|
||||
paraproxy2.ActivateParatroopers(ParachuteBase1.CenterPosition, Facing.East)
|
||||
paraproxy2.TargetParatroopers(ParachuteBase1.CenterPosition, Angle.East)
|
||||
paraproxy2.Destroy()
|
||||
paraproxy3 = Actor.Create("powerproxy.paratroopers3", false, { Owner = player })
|
||||
paraproxy3.ActivateParatroopers(ParachuteBase2.CenterPosition, Facing.East)
|
||||
paraproxy3.TargetParatroopers(ParachuteBase2.CenterPosition, Angle.East)
|
||||
paraproxy3.Destroy()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user