Lua Game Events
From Civilization Modding Wiki
Revision as of 11:55, 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).
- GameplaySetActivePlayer
- OpenPlayerDealScreenEvent
- PlayerChoseToLoadGame
- PlayerChoseToLoadMap
- RemotePlayerTurnEnd
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
Improvement
- SerialEventImprovementCreated
- SerialEventImprovementDestroyed
- SerialEventImprovementIconCreated
- SerialEventImprovementIconDestroyed
Feature
Hex
- AddUnitMoveHexRangeHex
- ClearHexHighlights
- ClearHexHighlightStyle
- ClearUnitMoveHexRange
- EndUnitMoveHexRange
- HexFOWStateChanged
- HexYieldMightHaveChanged
- SerialEventCityHexHighlightDirty
- SerialEventHexCultureChanged
- SerialEventHexDeSelected
- SerialEventHexGridOff
- SerialEventHexGridOn
- SerialEventHexHighlight
- SerialEventHexSelected
- SerialEventMouseOverHex
- SerialEventUnitMoveToHexes
- SerialEventUnitTeleportedToHex
- ShowHexYield
- StartUnitMoveHexRange
- UnitHexHighlight
- UnitHexHighlight
Game
- PlayerChoseToLoadGame
- PreGameDirty
- SequenceGameInitComplete
- SerialEventGameDataDirty
- SerialEventGameMessagePopup
- SerialEventGameMessagePopupProcessed
- SerialEventGameMessagePopupShown
- SerialEventStartGame
All Events
- AppInitComplete
- ActivePlayerTurnEnd
- ActivePlayerTurnStart
- AddPopupTextEvent
- AddUnitMoveHexRangeHex
- AdvisorDisplayHide
- AdvisorDisplayShow
- AfterModsActivate
- AfterModsDeactivate
- AILeaderMessage
- AnimationSamplingChanged
- AudioDebugChangeMusic
- AudioPlay2DSound
- AudioVolumeChanged
- BeforeModsActivate
- BeforeModsDeactivate
- BuildingLibrarySwap
- CameraProjectionChanged
- CameraStartPitchingDown
- CameraStartPitchingUp
- CameraStartRotatingCCW
- CameraStartRotatingCW
- CameraStopPitchingDown
- CameraStopPitchingUp
- CameraStopRotatingCCW
- CameraStopRotatingCW
- CameraViewChanged
- CityHandleCreated
- CityRuinsCreated
- ClearDiplomacyTradeTable
- ClearHexHighlights
- ClearHexHighlightStyle
- ClearUnitMoveHexRange
- ConnectedToNetworkHost
- DisplayMovementIndicator
- DontRecordCommandStreams
- DragCamera
- EndCombatSim
- EndGameShow
- EndTurnTimerUpdate
- EndUnitMoveHexRange
- EventOpenOptionsScreen
- EventPoliciesDirty
- ExitToMainMenu
- FrontEndPopup
- GameMessageChat
- GameOptionsChanged
- GameplayAlertMessage
- GameplayFX
- GameplaySetActivePlayer
- GenericWorldAnchor
- GlobalUnitScale
- GraphicsOptionsChanged
- HexFOWStateChanged
- HexYieldMightHaveChanged
- InitCityRangeStrike
- InstalledModsUpdated
- InterfaceModeChanged
- KeyUpEvent
- LandmarkLibrarySwap
- LanguageChanging
- LeavingLeaderViewMode
- LoadScreenClose
- LocalMachineAppUpdate
- LocalMachineUnitPositionChanged
- MinimapClickedEvent
- MinimapTextureBroadcastEvent
- ModDownloadComplete
- ModDownloadStarted
- MultiplayerConnectionComplete
- MultiplayerConnectionFailed
- MultiplayerGameAbandoned
- MultiplayerGameLaunched
- MultiplayerGameListClear
- MultiplayerGameListComplete
- MultiplayerGameListUpdated
- MultiplayerGamePlayerDisconnected
- MultiplayerGamePlayerUpdated
- MultiplayerJoinRoomAttempt
- MultiplayerJoinRoomComplete
- MultiplayerJoinRoomFailed
- MultiplayerProfileDisconnected
- MultiplayerProfileFailed
- NaturalWonderRevealed
- NotificationActivated
- NotificationAdded
- NotificationRemoved
- NotifyAILeaderInGame
- OpenInfoCorner
- OpenPlayerDealScreenEvent
- ParticleEffectReloadRequested
- ParticleEffectStatsRequested
- ParticleEffectStatsResponse
- PlayerChoseToLoadGame
- PlayerChoseToLoadMap
- PreGameDirty
- RecordCommandStreams
- RemotePlayerTurnEnd
- RemoveAllArrowsEvent
- RequestYieldDisplay
- RunCombatSim
- SearchForPediaEntry GoToPediaHomePage
- SequenceGameInitComplete
- SerialEventBuildingSizeChanged
- SerialEventCameraBack
- SerialEventCameraForward
- SerialEventCameraIn
- SerialEventCameraLeft
- SerialEventCameraOut
- SerialEventCameraRight
- SerialEventCameraSetCenterAndZoom
- SerialEventCameraStartMovingBack
- SerialEventCameraStartMovingForward
- SerialEventCameraStartMovingLeft
- SerialEventCameraStartMovingRight
- SerialEventCameraStopMovingBack
- SerialEventCameraStopMovingForward
- SerialEventCameraStopMovingLeft
- SerialEventCameraStopMovingRight
- SerialEventCityCaptured
- SerialEventCityContinentChanged
- SerialEventCityCreated
- SerialEventCityCultureChanged
- SerialEventCityDestroyed
- SerialEventCityHexHighlightDirty
- SerialEventCityInfoDirty
- SerialEventCityPopulationChanged
- SerialEventCityScreenDirty
- SerialEventCitySetDamage
- SerialEventDawnOfManHide
- SerialEventDawnOfManShow
- SerialEventEndTurnDirty
- SerialEventEnterCityScreen
- SerialEventEraChanged
- SerialEventExitCityScreen
- SerialEventFeatureCreated
- SerialEventFeatureDestroyed
- SerialEventForestCreated
- SerialEventForestRemoved
- SerialEventGameDataDirty
- SerialEventGameMessagePopup
- SerialEventGameMessagePopupProcessed
- SerialEventGameMessagePopupShown
- SerialEventHexCultureChanged
- SerialEventHexDeSelected
- SerialEventHexGridOff
- SerialEventHexGridOn
- SerialEventHexHighlight
- SerialEventHexSelected
- SerialEventImprovementCreated
- SerialEventImprovementDestroyed
- SerialEventImprovementIconCreated
- SerialEventImprovementIconDestroyed
- SerialEventInfoPaneDirty
- SerialEventJungleCreated
- SerialEventJungleRemoved
- SerialEventLeaderToggleDebugCam
- SerialEventMouseOverHex
- SerialEventRawResourceCreated
- SerialEventRawResourceDestroyed
- SerialEventRawResourceIconCreated
- SerialEventRawResourceIconDestroyed
- SerialEventResearchDirty
- SerialEventRoadCreated
- SerialEventRoadDestroyed
- SerialEventScoreDirty
- SerialEventScreenShot
- SerialEventStartGame
- SerialEventTerrainDecalCreated
- SerialEventTerrainOverlayMod
- SerialEventTest
- SerialEventTestAnimations
- SerialEventTurnTimerDirty
- SerialEventUnitCreated
- SerialEventUnitDestroyed
- SerialEventUnitFacingChanged
- SerialEventUnitFlagSelected
- SerialEventUnitInfoDirty
- SerialEventUnitMove
- SerialEventUnitMoveToHexes
- SerialEventUnitSetDamage
- SerialEventUnitTeleportedToHex
- ShowAttackTargets
- ShowHexYield
- ShowMovementRange
- SpawnArrowEvent
- SpecificCityInfoDirty
- StartUnitMoveHexRange
- StateMachineDumpStates
- StateMachineRequestStates
- StrategicViewStateChanged
- SystemUpdateUI
- TaskListUpdate
- TeamMet
- TechAcquired
- ToggleDisplayUnits
- ToolTipEvent
- UIPathFinderUpdate
- 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
- UserRequestClose
- VisibilityUpdated
- WarStateChanged
- WonderStateChanged
- WonderTogglePlacement
- WonderTypeChanged
- WorldMouseOver