Let spawned soviet vehicles attack move on Survival02

This commit is contained in:
abcdefg30
2015-12-12 18:49:28 +01:00
parent 8230be6a14
commit 93757d3324

View File

@@ -135,7 +135,8 @@ end
SpawnSovietVehicle = function(spawnpoints, rallypoints)
local route = Utils.RandomInteger(1, #spawnpoints + 1)
local rally = Utils.RandomInteger(1, #rallypoints + 1)
local unit = Reinforcements.Reinforce(soviets, { Utils.Random(SovietVehicles) }, { spawnpoints[route].Location, rallypoints[rally].Location })[1]
local unit = Reinforcements.Reinforce(soviets, { Utils.Random(SovietVehicles) }, { spawnpoints[route].Location })[1]
unit.AttackMove(rallypoints[rally].Location)
IdleHunt(unit)
Trigger.OnCapture(unit, function()