[LUA] spawn great people

qqqbbb

Prince
Joined
Sep 25, 2010
Messages
530
How do I spawn great person with lua? This code:
Code:
pPlayerUnits:Create(GameInfo.Units["UNIT_GREAT_SCIENTIST"].Index, pCapitalCity:GetX(), pCapitalCity:GetY())
spawns generic unit with no abilities.
 
There's no way I know of that allows us to specify which great person to spawn (with their attendant abilities) at the moment.

Civ6 lua has a lot of capability if one is willing to use work-around coding methods and the like, but this is not one where there is any usable work-around anyone has found that I know of.
 
Back
Top Bottom