Lady Wandbender
Chieftain
which is the right way to do this? (to add multiple units into the list)
def doFrostling(argsList):
kTriggeredData = argsList[0]
pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
bPlayer = gc.getPlayer(gc.getBARBARIAN_PLAYER())
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
DirectionTypes.DIRECTION_SOUTH)
or
def doFrostling(argsList):
kTriggeredData = argsList[0]
pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
bPlayer = gc.getPlayer(gc.getBARBARIAN_PLAYER())
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
bPlayer = gc.getPlayer(gc.getBARBARIAN_PLAYER())
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
DirectionTypes.DIRECTION_SOUTH)
and assuming a Unit_Settler is on that list, the AI will go ahead and make a city? and Units_ with summon promotions, will use them when they get in combat? (like Barbatos)
also can I please beg someone to create a code for me, that does what the Statue of Zues did for civ3? (units every X turns) the one I found online never worked.
what I wanna do is:
def doFrostling(argsList):
kTriggeredData = argsList[0]
pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
bPlayer = gc.getPlayer(gc.getBARBARIAN_PLAYER())
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
DirectionTypes.DIRECTION_SOUTH)
or
def doFrostling(argsList):
kTriggeredData = argsList[0]
pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
bPlayer = gc.getPlayer(gc.getBARBARIAN_PLAYER())
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
bPlayer = gc.getPlayer(gc.getBARBARIAN_PLAYER())
newUnit = bPlayer.initUnit(gc.getInfoTypeForString('UNIT_FROSTLING'), pPlot.getX(), pPlot.getY(), UnitAITypes.NO_UNITAI,
DirectionTypes.DIRECTION_SOUTH)
and assuming a Unit_Settler is on that list, the AI will go ahead and make a city? and Units_ with summon promotions, will use them when they get in combat? (like Barbatos)
also can I please beg someone to create a code for me, that does what the Statue of Zues did for civ3? (units every X turns) the one I found online never worked.
what I wanna do is:
Spoiler :
create barbarian cities on mana nodes, then give barb's a palace which will then create a free forge which will then create a "statue of zues" that will shoot out barbs a little faster (nastier) than the current improvement useage. and at different turn levels the barbarian "Flavor" will change from like Orcs to Ogres to dragons(mini dragons)