remove bogus space tabs
This commit is contained in:
@@ -80,11 +80,11 @@ ShipAlliedUnits = function()
|
|||||||
transport.Wait(50)
|
transport.Wait(50)
|
||||||
transport.Move(LstEntry.Location)
|
transport.Move(LstEntry.Location)
|
||||||
transport.Destroy()
|
transport.Destroy()
|
||||||
Trigger.AfterDelay(60 * 25, ShipAlliedUnits)
|
Trigger.AfterDelay(60 * 25, ShipAlliedUnits)
|
||||||
end
|
end
|
||||||
|
|
||||||
ParadropSovietUnits = function()
|
ParadropSovietUnits = function()
|
||||||
local lz = Utils.Random(ParadropWaypoints).Location
|
local lz = Utils.Random(ParadropWaypoints).Location
|
||||||
local start = Utils.CenterOfCell(Map.RandomEdgeCell()) + WVec.New(0, 0, Actor.CruiseAltitude("badr"))
|
local start = Utils.CenterOfCell(Map.RandomEdgeCell()) + WVec.New(0, 0, Actor.CruiseAltitude("badr"))
|
||||||
local transport = Actor.Create("badr", true, { CenterPosition = start, Owner = soviets, Facing = (Utils.CenterOfCell(lz) - start).Facing })
|
local transport = Actor.Create("badr", true, { CenterPosition = start, Owner = soviets, Facing = (Utils.CenterOfCell(lz) - start).Facing })
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ ParadropSovietUnits = function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
transport.Paradrop(lz)
|
transport.Paradrop(lz)
|
||||||
Trigger.AfterDelay(35 * 25, ParadropSovietUnits)
|
Trigger.AfterDelay(35 * 25, ParadropSovietUnits)
|
||||||
end
|
end
|
||||||
|
|
||||||
ProduceUnits = function(t)
|
ProduceUnits = function(t)
|
||||||
@@ -118,9 +118,9 @@ SetupAlliedUnits = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
SetupFactories = function()
|
SetupFactories = function()
|
||||||
Utils.Do(ProducedUnitTypes, function(pair)
|
Utils.Do(ProducedUnitTypes, function(pair)
|
||||||
Trigger.OnProduction(pair[1], function(_, a) BindActorTriggers(a) end)
|
Trigger.OnProduction(pair[1], function(_, a) BindActorTriggers(a) end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
ChronoshiftAlliedUnits = function()
|
ChronoshiftAlliedUnits = function()
|
||||||
@@ -129,9 +129,9 @@ ChronoshiftAlliedUnits = function()
|
|||||||
for i = 1, #cells do
|
for i = 1, #cells do
|
||||||
local unit = Actor.Create("2tnk", true, { Owner = allies, Facing = 0 })
|
local unit = Actor.Create("2tnk", true, { Owner = allies, Facing = 0 })
|
||||||
BindActorTriggers(unit)
|
BindActorTriggers(unit)
|
||||||
units[unit] = cells[i]
|
units[unit] = cells[i]
|
||||||
end
|
end
|
||||||
Chronosphere.Chronoshift(units)
|
Chronosphere.Chronoshift(units)
|
||||||
Trigger.AfterDelay(60 * 25, ChronoshiftAlliedUnits)
|
Trigger.AfterDelay(60 * 25, ChronoshiftAlliedUnits)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -155,7 +155,7 @@ WorldLoaded = function()
|
|||||||
ShipAlliedUnits()
|
ShipAlliedUnits()
|
||||||
ParadropSovietUnits()
|
ParadropSovietUnits()
|
||||||
Trigger.AfterDelay(5 * 25, ChronoshiftAlliedUnits)
|
Trigger.AfterDelay(5 * 25, ChronoshiftAlliedUnits)
|
||||||
Utils.Do(ProducedUnitTypes, ProduceUnits)
|
Utils.Do(ProducedUnitTypes, ProduceUnits)
|
||||||
|
|
||||||
SendSovietUnits(Entry1.Location, UnitTypes, 50)
|
SendSovietUnits(Entry1.Location, UnitTypes, 50)
|
||||||
SendSovietUnits(Entry2.Location, UnitTypes, 50)
|
SendSovietUnits(Entry2.Location, UnitTypes, 50)
|
||||||
|
|||||||
Reference in New Issue
Block a user