Maniac
Apolyton Sage
You know, when you have moved all your units, when that green circle in the lower right side turns red?
I'd like a sound to play at that moment.
Currently I have:
but that plays right AFTER clicking the right circle to end the turn.
OnEndTurnReady doesn't seem to do anything.
Is there a way?
I'd like a sound to play at that moment.
Currently I have:
Code:
def onEndPlayerTurn(self, argsList):
'Called at the end of a players turn'
iGameTurn, iPlayer = argsList
pPlayer = gc.getPlayer(iPlayer)
if pPlayer.isHuman():
CyInterface().playGeneralSound("AS2D_TURN_COMPLETE")
but that plays right AFTER clicking the right circle to end the turn.
OnEndTurnReady doesn't seem to do anything.
Is there a way?