LUA Greece.Build

Information and discussion for custom maps and mods.
Post Reply
Boxhead
Posts: 2
Joined: Thu Jan 25, 2018 10:15 pm

LUA Greece.Build

Post by Boxhead » Sat Jun 08, 2019 4:34 pm

Hey there guys,

I recently have a problem with the build function in red alert and hope you can help me.

Problem is the line 'Greece.Build(GreeceInfantryTeam, function(unit))' doesn't work properly (it just doesn't build any units for some reason) if Greece only has production buildings which are placed by LUA with 'actor.create' since release20180307. Before I played with release20171014 and everything worked fine.

Is there any way to get Greece.Build to work? I can exclude that the problem is on my script because it works fine with release20171014 and the same issue occurs in the mission soviet05 where the enemy builds a base on an island.

The function which I'm trying to fix can be found in this script "GreeceInfantryProduction": https://github.com/blackhandcommando/op ... eeceAI.lua (Script is a intended for release20180307 but I'm getting it to work with current release but I just can't fix Greece.Build)

I also posted an issue about it here: https://github.com/OpenRA/OpenRA/issues/14911

Post Reply