Lua Game Objects/Player
From Civilization Modding Wiki
Revision as of 11:38, 14 February 2012 by Killmeplease (talk | contribs)
Up: Lua Game Objects
Methods
- GetNumCities - returns number of cities
- IsMinorCiv - returns true if this player is a city-state.
- SetHappiness ( iHappiness ) - supposed to set player's happiness, does not work
Related Events
- ActivePlayerTurnEnd
- ActivePlayerTurnStart - fired on the start of the human player's turn (not fired for AIs).
- GameplaySetActivePlayer
- OpenPlayerDealScreenEvent
- PlayerChoseToLoadGame
- PlayerChoseToLoadMap
- RemotePlayerTurnEnd