Fix nod05 airstrike Lua crash and update map rules

- Fix airstrike Lua crash when there are no targets
- Increased harvester search range
- Hide owner row from husks and walls

Changes to make it closer to the original:
- Added e3 and sandbag production
- Made airstrikes gdi only
- Limited airstrike squadsize to 1
- Allow to attack civilian buildings
This commit is contained in:
Biofreak1987
2015-11-08 16:03:55 +01:00
parent 98d0844695
commit 84a0dc0242
2 changed files with 36 additions and 12 deletions

View File

@@ -319,6 +319,11 @@ end
searches = 0
getAirstrikeTarget = function()
local list = player.GetGroundAttackers()
if #list == 0 then
return
end
local target = list[DateTime.GameTime % #list + 1].CenterPosition
local sams = Map.ActorsInCircle(target, WDist.New(8 * 1024), function(actor)