Lua Game Objects/Player

From Civilization Modding Wiki
Revision as of 11:37, 14 February 2012 by Killmeplease (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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
Retrieved from "https://modiki.civfanatics.com/index.php?title=Lua_Game_Objects/Player&oldid=9369"

Navigation menu

Page actions

  • Page
  • Discussion
  • Read
  • View source
  • History

Page actions

  • Page
  • Discussion
  • More
  • Tools

Personal tools

  • Create account
  • Log in

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help about MediaWiki

Tools

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Cite this page
Powered by MediaWiki
  • This page was last edited on 14 February 2012, at 11:37.
  • Privacy policy
  • About Civilization Modding Wiki
  • Disclaimers