Lua Game Events: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 14: Line 14:
*[[TechAcquired]]
*[[TechAcquired]]
*[[WarStateChanged]]
*[[WarStateChanged]]
===GameEvents===
(from patch 1.0.1.332)
*[[GameEvents.CityCanBuyAnyPlot(ownerID, cityID)]]
*[[GameEvents.CityCanBuyPlot(ownerID, cityID, plotX, plotY)]]
*[[GameEvents.CityCanCreate(ownerID, cityID, projectTypeID)]]
*[[GameEvents.CityCanMaintain(ownerID, cityID, processTypeID)]]
*[[GameEvents.CityCanPrepare(ownerID, cityID, specialistTypeID)]]
*[[GameEvents.CityCanTrain(ownerID, cityID, unitTypeID)]]
*[[GameEvents.PlayerAdoptPolicy(playerID, policyTypeID)]]
*[[GameEvents.PlayerAdoptPolicyBranch(playerID, policyBranchTypeID)]]
*[[GameEvents.PlayerCanAdoptPolicy(playerID, policyTypeID)]]
*[[GameEvents.PlayerCanAdoptPolicyBranch(playerID, policyBranchTypeID)]]
*[[GameEvents.PlayerCanConstruct(playerID, buildingTypeID)]]
*[[GameEvents.PlayerCanCreate(playerID, projectTypeID)]]
*[[GameEvents.PlayerCanEverReseearch(playerID, techtypeID)]]
*[[GameEvents.PlayerCanMaintain(playerID, processTypeID)]]
*[[GameEvents.PlayerCanPrepare(playerID, specialistTypeID)]]
*[[GameEvents.PlayerCanResearch(playerID, techTypeID)]]
*[[GameEvents.PlayerCanTrain(playerID, unitTypeID)]]
*[[GameEvents.TeamSetHasTech(teamID, techID)]]


==City==
==City==

Revision as of 09:02, 15 February 2012

Up: Lua and UI Reference

Lua Events List or the same in the official wiki

Player

GameEvents

(from patch 1.0.1.332)

City

Unit

CombatSim

Map objects

Improvements

Features

Hex

Game

Mods

Interface

Advisor

Dawn of Man

Diplomacy

Menus

Notifications

Game Systems

Animation

Audio

Camera

Multiplayer

Other (unsorted)