User:DonQuich: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
* Events.ActivePlayerTurnStart - specify human besides of "active" - exclude AI | * Events.ActivePlayerTurnStart - specify human besides of "active" - exclude AI | ||
* [[GameEvents.PlayerCanConstruct(playerID, buildingTypeID)]] - Example of building constructible with a policy. | * [[GameEvents.PlayerCanConstruct(playerID, buildingTypeID)]] - Example of building constructible with a policy. | ||
* [[Events.SerialEventCityDestroyed (Civ5 API)]] Advise the reader to see SerialEventCityCaptured or copy/paste. |
Revision as of 09:09, 20 September 2012
Developer of the bot that generated the initial versions of the Lua and UI Reference (Civ5) on mid-2012.
CivFanatics profile: DonQuiche
Mods
My scratchpad: pages to salvage
- Lua Game Objects/NotificationTypes
- SetHappiness - Warning and link
- HasPolicy Good example for HasPolicy and SetHasPolicy
- GetMinorCivType - Good example for player name (add it to Player.GetName?)
- Warning about graphics refresh on SetTerrainType
- Warning and code snippet on SetOwner.
- Events.ActivePlayerTurnStart - specify human besides of "active" - exclude AI
- GameEvents.PlayerCanConstruct(playerID, buildingTypeID) - Example of building constructible with a policy.
- Events.SerialEventCityDestroyed (Civ5 API) Advise the reader to see SerialEventCityCaptured or copy/paste.