platyping
Sleeping Dragon
Hi guys, does anyone know the usage of this function:
I was thinking that using this under def onBeginPlayerTurn may let me reveal the black fog at others' capital, but it doesn't seems to do anything
Code:
VOID setRevealed (TeamType eTeam, BOOL bNewValue, BOOL bTerrainOnly, TeamType eFromTeam)
I was thinking that using this under def onBeginPlayerTurn may let me reveal the black fog at others' capital, but it doesn't seems to do anything
Spoiler :
Code:
pPlayer = gc.getPlayer(iPlayer)
iTeam = pPlayer.getTeam()
for iPlayer2 in range(gc.getMAX_CIV_PLAYERS()):
pPlayer2 = gc.getPlayer(iPlayer2)
iTeam2 = pPlayer2.getTeam()
pcapital = pPlayer2.getCapital()
iX = pcapital.getX()
iY = pcapital.getY()
pPlot = CyMap().plot(iX,iY)
pPlot.setRevealed(iTeam, true, true, iTeam2)