Afforess
The White Wizard
Just passing through, but did you edit the python for the screens to handle with the new parameter you added?
gc.getTeam(pLoopPlayer.getTeam()).setVassal(pPlayer.getTeam(), true, false)
containerUnit = -1
pPlot = pBestCity.plot()
for i in range(pPlot.getNumUnits()):
if pPlot.getUnit(i).getUnitType() == gc.getInfoTypeForString('EQUIPMENT_CONTAINER'):
containerUnit = pPlot.getUnit(i)
if containerUnit == -1:
containerUnit = gc.getPlayer(gc.getORC_PLAYER()).initUnit(gc.getInfoTypeForString('EQUIPMENT_CONTAINER'), [B]Caster[/B].getX(), [B]Caster[/B].getY(), UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)
containerUnit.setHasPromotion(gc.getInfoTypeForString('PROMOTION_GODSLAYER'), True)
eProject.getNumPrereqCivilizations() > 0"
I don't honestly need to keep the integer either, I can just use .size(), but since I have to store an integer for memory to read/write properly, I just decided to carry it around anyway so I didn't have to process .size() all the time either.
It is a bit of a tradeoff honestly. It saves storage space, since instead of a HUGE array with only 1 or 2 values being non-default, you just store those 1 or 2 values.
Thanks for the guidance! Haha, I only just realized that you are the author of that guide! I just set up Codeblocks. I will get started immediately.