Lua Game Objects/Player: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Killmeplease (talk | contribs) No edit summary |
Killmeplease (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
==Related Events== | ==Related Events== | ||
*[[ActivePlayerTurnEnd]] | |||
*[[ActivePlayerTurnStart]] - fired on the start of the human player's turn (not fired for AIs). | *[[ActivePlayerTurnStart]] - fired on the start of the human player's turn (not fired for AIs). | ||
Expr1000 | |||
*[[GameplaySetActivePlayer]] | |||
*[[MultiplayerConnectionComplete]] | |||
*[[MultiplayerConnectionFailed]] | |||
*[[MultiplayerGameAbandoned]] | |||
*[[MultiplayerGameLaunched]] | |||
*[[MultiplayerGameListClear]] | |||
*[[MultiplayerGameListComplete]] | |||
*[[MultiplayerGameListUpdated]] | |||
*[[MultiplayerGamePlayerDisconnected]] | |||
*[[MultiplayerGamePlayerUpdated]] | |||
*[[MultiplayerJoinRoomAttempt]] | |||
*[[MultiplayerJoinRoomComplete]] | |||
*[[MultiplayerJoinRoomFailed]] | |||
*[[MultiplayerProfileDisconnected]] | |||
*[[MultiplayerProfileFailed]] | |||
*[[OpenPlayerDealScreenEvent]] | |||
*[[PlayerChoseToLoadGame]] | |||
*[[PlayerChoseToLoadMap]] | |||
*[[RemotePlayerTurnEnd]] |
Revision as of 11:37, 14 February 2012
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).
Expr1000
- GameplaySetActivePlayer
- MultiplayerConnectionComplete
- MultiplayerConnectionFailed
- MultiplayerGameAbandoned
- MultiplayerGameLaunched
- MultiplayerGameListClear
- MultiplayerGameListComplete
- MultiplayerGameListUpdated
- MultiplayerGamePlayerDisconnected
- MultiplayerGamePlayerUpdated
- MultiplayerJoinRoomAttempt
- MultiplayerJoinRoomComplete
- MultiplayerJoinRoomFailed
- MultiplayerProfileDisconnected
- MultiplayerProfileFailed
- OpenPlayerDealScreenEvent
- PlayerChoseToLoadGame
- PlayerChoseToLoadMap
- RemotePlayerTurnEnd