brianshapiro
King
- Joined
- Mar 6, 2003
- Messages
- 775
GameEvents is not listed on the Wiki, its available in Lua from the main state and indexed in other states. Unlike the InGame Events these don't depend on what is revealed on the player's map.
Functions:
* CanDeclareWar
listener(playeractive, playertarget)
* PlayerDoTurn
listener(player)
* PreGameStart
?
* SetPopulation
listener(x, y, populationold, populationnew)
* TeamMeet
listener(playeractive, playermet)
* TeamTechResearched
listener(val1, val2, val3)
* UnitGetSpecialExploreTarget
listener(player, someID)
* UnitSetXY
listener(player, unitID, x, y)
===
Also,
LuaEvents functions:
* OnRecommendationCheckChanged
?
Functions:
* CanDeclareWar
listener(playeractive, playertarget)
* PlayerDoTurn
listener(player)
* PreGameStart
?
* SetPopulation
listener(x, y, populationold, populationnew)
* TeamMeet
listener(playeractive, playermet)
* TeamTechResearched
listener(val1, val2, val3)
* UnitGetSpecialExploreTarget
listener(player, someID)
* UnitSetXY
listener(player, unitID, x, y)
===
Also,
LuaEvents functions:
* OnRecommendationCheckChanged
?