Lua Game Events
From Civilization Modding Wiki
Revision as of 12:45, 14 February 2012 by Killmeplease (talk | contribs)
Lua Events List or the same in the official wiki
Player
- ActivePlayerTurnEnd
- ActivePlayerTurnStart - fired on the start of the human player's turn (not fired for AIs).
- EventPoliciesDirty
- GameplaySetActivePlayer
- SerialEventEraChanged
- SerialEventResearchDirty
- SerialEventScoreDirty
- TeamMet
- TechAcquired
- WarStateChanged
City
- CityHandleCreated
- CityRuinsCreated
- InitCityRangeStrike
- SerialEventCityCaptured - fired when city is captured or traded to an another civ.
- SerialEventCityContinentChanged
- SerialEventCityCreated - fired when city is created.
- SerialEventCityCultureChanged
- SerialEventCityDestroyed - fired when city is destroyed.
- SerialEventCityHexHighlightDirty
- SerialEventCityInfoDirty
- SerialEventCityPopulationChanged - fired when a population of a particular city was changed.
- SerialEventCityScreenDirty
- SerialEventCitySetDamage
- SerialEventEnterCityScreen
- SerialEventExitCityScreen
- SpecificCityInfoDirty - fired when something in a particular city was changed.
Unit
- AddUnitMoveHexRangeHex
- ClearUnitMoveHexRange
- EndUnitMoveHexRange
- GlobalUnitScale
- LocalMachineUnitPositionChanged
- SerialEventUnitCreated
- SerialEventUnitDestroyed
- SerialEventUnitFacingChanged
- SerialEventUnitFlagSelected
- SerialEventUnitInfoDirty
- SerialEventUnitMove
- SerialEventUnitMoveToHexes
- SerialEventUnitSetDamage
- SerialEventUnitTeleportedToHex
- StartUnitMoveHexRange
- ToggleDisplayUnits
- UnitActionChanged
- UnitDataEdited
- UnitDataRequested
- UnitDebugFSM
- UnitEmbark
- UnitFlagUpdated
- UnitGarrison
- UnitHandleCreated
- UnitHexHighlight
- UnitHexHighlight
- UnitLibrarySwap
- UnitMarkThreatening
- UnitMemberCombatStateChanged
- UnitMemberCombatTargetChanged
- UnitMemberOverlayAdd
- UnitMemberOverlayMessage
- UnitMemberOverlayRemove
- UnitMemberOverlayShowHide
- UnitMemberOverlayTargetColor
- UnitMemberPositionChanged
- UnitMoveQueueChanged
- UnitSelectionChanged
- UnitSelectionCleared
- UnitShouldDimFlag
- UnitStateChangeDetected
- UnitTypeChanged
- UnitVisibilityChanged
CombatSim
Map objects
Improvements
- SerialEventImprovementCreated
- SerialEventImprovementDestroyed
- SerialEventImprovementIconCreated
- SerialEventImprovementIconDestroyed
- SerialEventRoadCreated
- SerialEventRoadDestroyed
Features
- SerialEventFeatureCreated
- SerialEventFeatureDestroyed
- SerialEventForestCreated
- SerialEventForestRemoved
- SerialEventJungleCreated
- SerialEventJungleRemoved
Hex
- AddUnitMoveHexRangeHex
- ClearHexHighlights
- ClearHexHighlightStyle
- ClearUnitMoveHexRange
- EndUnitMoveHexRange
- HexFOWStateChanged
- HexYieldMightHaveChanged
- SerialEventCityHexHighlightDirty
- SerialEventHexCultureChanged
- SerialEventHexDeSelected
- SerialEventHexGridOff
- SerialEventHexGridOn
- SerialEventHexHighlight
- SerialEventHexSelected
- SerialEventMouseOverHex
- SerialEventUnitMoveToHexes
- SerialEventUnitTeleportedToHex
- ShowHexYield
- StartUnitMoveHexRange
- UnitHexHighlight
- UnitHexHighlight
Game
- LoadScreenClose
- PreGameDirty
- SerialEventEndTurnDirty
- SequenceGameInitComplete
- SerialEventGameDataDirty
- SerialEventStartGame
Mods
- AfterModsActivate
- AfterModsDeactivate
- BeforeModsActivate
- BeforeModsDeactivate
- InstalledModsUpdated
- ModDownloadComplete
- ModDownloadStarted
Interface
- AddPopupTextEvent
- FrontEndPopup
- MinimapClickedEvent
- OpenInfoCorner
- SerialEventGameMessagePopup
- SerialEventGameMessagePopupProcessed
- SerialEventGameMessagePopupShown
- SerialEventInfoPaneDirty
- ToolTipEvent
Advisor
Dawn of Man
Diplomacy
Menus
Notifications
Game Systems
Camera
- CameraProjectionChanged
- CameraStartPitchingDown
- CameraStartPitchingUp
- CameraStartRotatingCCW
- CameraStartRotatingCW
- CameraStopPitchingDown
- CameraStopPitchingUp
- CameraStopRotatingCCW
- CameraStopRotatingCW
- CameraViewChanged
- DragCamera
- SerialEventCameraBack
- SerialEventCameraForward
- SerialEventCameraIn
- SerialEventCameraLeft
- SerialEventCameraOut
- SerialEventCameraRight
- SerialEventCameraSetCenterAndZoom
- SerialEventCameraStartMovingBack
- SerialEventCameraStartMovingForward
- SerialEventCameraStartMovingLeft
- SerialEventCameraStartMovingRight
- SerialEventCameraStopMovingBack
- SerialEventCameraStopMovingForward
- SerialEventCameraStopMovingLeft
- SerialEventCameraStopMovingRight
Audio
Animation
- AnimationSamplingChanged
- ParticleEffectReloadRequested
- ParticleEffectStatsRequested
- ParticleEffectStatsResponse
- RemoveAllArrowsEvent
- SerialEventTestAnimations
- SpawnArrowEvent
Multiplayer
Other (unsorted)
- AppInitComplete
- AILeaderMessage
- BuildingLibrarySwap
- DisplayMovementIndicator
- DontRecordCommandStreams
- EndTurnTimerUpdate
- GenericWorldAnchor
- GraphicsOptionsChanged
- InterfaceModeChanged
- KeyUpEvent
- LandmarkLibrarySwap
- LanguageChanging
- LeavingLeaderViewMode
- LocalMachineAppUpdate
- MinimapTextureBroadcastEvent
- RecordCommandStreams
- RequestYieldDisplay
- SearchForPediaEntry GoToPediaHomePage
- SerialEventBuildingSizeChanged
- SerialEventLeaderToggleDebugCam
- SerialEventRawResourceCreated
- SerialEventRawResourceDestroyed
- SerialEventRawResourceIconCreated
- SerialEventRawResourceIconDestroyed
- SerialEventScreenShot
- SerialEventTerrainDecalCreated
- SerialEventTerrainOverlayMod
- SerialEventTest
- SerialEventTurnTimerDirty
- ShowAttackTargets
- ShowMovementRange
- StateMachineDumpStates
- StateMachineRequestStates
- StrategicViewStateChanged
- SystemUpdateUI
- TaskListUpdate
- UIPathFinderUpdate
- UserRequestClose
- VisibilityUpdated
- WonderStateChanged
- WonderTogglePlacement
- WonderTypeChanged
- WorldMouseOver