Lua Game Events: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Killmeplease (talk | contribs) No edit summary |
Killmeplease (talk | contribs) No edit summary |
||
Line 167: | Line 167: | ||
==Game Systems== | ==Game Systems== | ||
===Animation=== | |||
*[[AnimationSamplingChanged]] | |||
*[[ParticleEffectReloadRequested]] | |||
*[[ParticleEffectStatsRequested]] | |||
*[[ParticleEffectStatsResponse]] | |||
*[[RemoveAllArrowsEvent]] | |||
*[[SerialEventTestAnimations]] | |||
*[[SpawnArrowEvent]] | |||
===Audio=== | |||
*[[AudioDebugChangeMusic]] | |||
*[[AudioPlay2DSound]] | |||
*[[AudioVolumeChanged]] | |||
===Camera=== | ===Camera=== | ||
*[[CameraProjectionChanged]] | *[[CameraProjectionChanged]] | ||
Line 194: | Line 206: | ||
*[[SerialEventCameraStopMovingLeft]] | *[[SerialEventCameraStopMovingLeft]] | ||
*[[SerialEventCameraStopMovingRight]] | *[[SerialEventCameraStopMovingRight]] | ||
===Multiplayer=== | ===Multiplayer=== | ||
*[[ConnectedToNetworkHost]] | *[[ConnectedToNetworkHost]] | ||
*[[MultiplayerConnectionComplete]] | |||
*[[MultiplayerConnectionFailed]] | |||
*[[MultiplayerGameAbandoned]] | |||
*[[MultiplayerGameLaunched]] | |||
*[[MultiplayerGameListClear]] | |||
*[[MultiplayerGameListComplete]] | |||
*[[MultiplayerGameListUpdated]] | |||
*[[MultiplayerGamePlayerDisconnected]] | |||
*[[MultiplayerGamePlayerUpdated]] | |||
*[[MultiplayerJoinRoomAttempt]] | |||
*[[MultiplayerJoinRoomComplete]] | |||
*[[MultiplayerJoinRoomFailed]] | |||
*[[MultiplayerProfileDisconnected]] | |||
*[[MultiplayerProfileFailed]] | |||
*[[RemotePlayerTurnEnd]] | *[[RemotePlayerTurnEnd]] | ||
Revision as of 12:56, 14 February 2012
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
Animation
- AnimationSamplingChanged
- ParticleEffectReloadRequested
- ParticleEffectStatsRequested
- ParticleEffectStatsResponse
- RemoveAllArrowsEvent
- SerialEventTestAnimations
- SpawnArrowEvent
Audio
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
Multiplayer
- ConnectedToNetworkHost
- MultiplayerConnectionComplete
- MultiplayerConnectionFailed
- MultiplayerGameAbandoned
- MultiplayerGameLaunched
- MultiplayerGameListClear
- MultiplayerGameListComplete
- MultiplayerGameListUpdated
- MultiplayerGamePlayerDisconnected
- MultiplayerGamePlayerUpdated
- MultiplayerJoinRoomAttempt
- MultiplayerJoinRoomComplete
- MultiplayerJoinRoomFailed
- MultiplayerProfileDisconnected
- MultiplayerProfileFailed
- RemotePlayerTurnEnd
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