Lua Game Objects/City
From Civilization Modding Wiki
Revision as of 10:47, 14 February 2012 by Killmeplease (talk | contribs)
Up: Lua Game Objects
Methods
- IsHasBuilding ( buildingID ) - returns true if a subject city has a building with a specified ID
Related Events
- SerialEventCityCreated - fired when city is created.
- SerialEventCityCaptured - fired when city is captured or traded to an another civ.
- SerialEventCityDestroyed - fired when city is destroyed.
- SerialEventCityPopulationChanged - fired when a population of a particular city was changed.
- SpecificCityInfoDirty - fired when something in a particular city was changed.