Difference between revisions of "EVENT TYPE *"
From Dragon Age Toolset Wiki
m (Updating categories) |
m (Adding missing events) |
||
Line 934: | Line 934: | ||
{{Constant table start | {{Constant table start | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CHARGEN_AUTOLEVEL]] | ||
+ | |type = int | ||
+ | |value = 56 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 998: | Line 1,006: | ||
|value = 1008 | |value = 1008 | ||
|description = talent deactivated | |description = talent deactivated | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_DOT_TICK]] | ||
+ | |type = int | ||
+ | |value = 1010 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,038: | Line 1,054: | ||
|value = 1016 | |value = 1016 | ||
|description = handle any custom AI before handling the built-in AI | |description = handle any custom AI before handling the built-in AI | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_OUT_OF_AMMO]] | ||
+ | |type = int | ||
+ | |value = 1017 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,126: | Line 1,150: | ||
|value = 1029 | |value = 1029 | ||
|description = fired when the summon died. | |description = fired when the summon died. | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CONFUSION_CALLBACK]] | ||
+ | |type = int | ||
+ | |value = 1030 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_PARTY_MEMBER_FIRED]] | ||
+ | |type = int | ||
+ | |value = 1031 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_UNIQUE_POWER]] | ||
+ | |type = int | ||
+ | |value = 1032 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,190: | Line 1,238: | ||
|value = 1050 | |value = 1050 | ||
|description = Fired to a trap to cause itself to arm. | |description = Fired to a trap to cause itself to arm. | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_TRAP_TRIGGER_ENTER]] | ||
+ | |type = int | ||
+ | |value = 1051 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_TRAP_TRIGGER_EXIT]] | ||
+ | |type = int | ||
+ | |value = 1052 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_TRAP_TRIGGER_ARMED]] | ||
+ | |type = int | ||
+ | |value = 1053 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_COMMAND_COMPLETE]] | ||
+ | |type = int | ||
+ | |value = 1054 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_MODULE_HANDLE_GIFT]] | ||
+ | |type = int | ||
+ | |value = 1055 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,198: | Line 1,286: | ||
|value = 1056 | |value = 1056 | ||
|description = yes! its only here for Wynne! | |description = yes! its only here for Wynne! | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_SET_INTERACTIVE]] | ||
+ | |type = int | ||
+ | |value = 1057 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_OBJECT_ACTIVE]] | ||
+ | |type = int | ||
+ | |value = 1058 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,214: | Line 1,318: | ||
|value = 1070 | |value = 1070 | ||
|description = object should destroy itself | |description = object should destroy itself | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_COMBO_IGNITE]] | ||
+ | |type = int | ||
+ | |value = 1080 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_DROP_STEALTH]] | ||
+ | |type = int | ||
+ | |value = 1090 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CREATURE_SHAPESHIFTED]] | ||
+ | |type = int | ||
+ | |value = 1100 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,222: | Line 1,350: | ||
|value = 1201 | |value = 1201 | ||
|description = party members are rezzed on this event if it happens outside of combat | |description = party members are rezzed on this event if it happens outside of combat | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_DELAYED_GM_CHANGE]] | ||
+ | |type = int | ||
+ | |value = 2000 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_AUTOPAUSE]] | ||
+ | |type = int | ||
+ | |value = 2001 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,238: | Line 1,382: | ||
|value = 9999 | |value = 9999 | ||
|description = resurrection button handler for death panel | |description = resurrection button handler for death panel | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_QA_EVENT]] | ||
+ | |type = int | ||
+ | |value = 30200 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_QA_EVENT_BLA]] | ||
+ | |type = int | ||
+ | |value = 30201 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_PROVING_ENTER]] | ||
+ | |type = int | ||
+ | |value = 50001 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_PROVING_START]] | ||
+ | |type = int | ||
+ | |value = 50002 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_PROVING_WIN]] | ||
+ | |type = int | ||
+ | |value = 50003 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_PROVING_LOSE]] | ||
+ | |type = int | ||
+ | |value = 50004 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_PROVING_EXIT]] | ||
+ | |type = int | ||
+ | |value = 50005 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_01]] | ||
+ | |type = int | ||
+ | |value = 50006 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_02]] | ||
+ | |type = int | ||
+ | |value = 50007 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_03]] | ||
+ | |type = int | ||
+ | |value = 50008 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_04]] | ||
+ | |type = int | ||
+ | |value = 50009 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_05]] | ||
+ | |type = int | ||
+ | |value = 50010 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_06]] | ||
+ | |type = int | ||
+ | |value = 50013 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_STEALING_SUCCESS]] | ||
+ | |type = int | ||
+ | |value = 50011 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_STEALING_FAILURE]] | ||
+ | |type = int | ||
+ | |value = 50012 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_07]] | ||
+ | |type = int | ||
+ | |value = 50014 | ||
+ | |description = | ||
+ | |sourcefile = events_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = [[EVENT_TYPE_CUSTOM_EVENT_08]] | ||
+ | |type = int | ||
+ | |value = 50015 | ||
+ | |description = | ||
|sourcefile = events_h | |sourcefile = events_h | ||
|sourcemodule = Core Game Resources | |sourcemodule = Core Game Resources | ||
Line 1,244: | Line 1,524: | ||
== Remarks == | == Remarks == | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | [[Events_h]] contains | + | [[Events_h]] contains several comment relating to event type literals |
− | + | * 1015 is used by ambient ai | |
+ | * 30200 to 30300 are reserved for QA | ||
+ | * 50000 to 60000 are reserved for plot events | ||
+ | * 80000 to 81000 are reserved for run database events: see [[design_tracking_h]] for their actual definition | ||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> |
Revision as of 19:50, 21 August 2011
Constant name | Type | Value | Description | Source |
---|---|---|---|---|
EVENT_TYPE_CHARGEN_AUTOLEVEL | int | 56 | events_h | |
EVENT_TYPE_ALLY_ATTACKED | int | 1002 | an ally has got the 'attacked' event and asked for help | events_h |
EVENT_TYPE_WORLD_MAP_USED | int | 1003 | player used the world map to travel from point A to point B | events_h |
EVENT_TYPE_DELAYED_SHOUT | int | 1004 | used to fire a dialog shout every few seconds | events_h |
EVENT_TYPE_TRANSITION_TO_WORLD_MAP | int | 1005 | player uses the generic transition system to open the world map | events_h |
EVENT_TYPE_SPELLSCRIPT_PENDING | int | 1005 | events_h | |
EVENT_TYPE_SPELLSCRIPT_CAST | int | 1006 | cast | events_h |
EVENT_TYPE_SPELLSCRIPT_IMPACT | int | 1007 | impact | events_h |
EVENT_TYPE_SPELLSCRIPT_DEACTIVATE | int | 1008 | talent deactivated | events_h |
EVENT_TYPE_DOT_TICK | int | 1010 | events_h | |
EVENT_TYPE_CAST_AT | int | 1011 | an ability has been cast on me | events_h |
EVENT_TYPE_STAT_REGEN | int | 1012 | stat regeneration. might be changed in the future | events_h |
EVENT_TYPE_RESURRECTION | int | 1013 | creature resurrected. | events_h |
EVENT_TYPE_SET_OBJECT_ACTIVE | int | 1014 | needed since CommandDoFunction was removed and we're using CommandDoEvent | events_h |
EVENT_TYPE_HANDLE_CUSTOM_AI | int | 1016 | handle any custom AI before handling the built-in AI | events_h |
EVENT_TYPE_OUT_OF_AMMO | int | 1017 | events_h | |
EVENT_TYPE_HEARTBEAT | int | 1018 | runs 2 seconds after death to set AI level to low | events_h |
EVENT_TYPE_TEAM_DESTROYED | int | 1019 | fires when an entire team of creatures is destroyed. The event is fired to the last living creature on the team | events_h |
EVENT_TYPE_CAMPAIGN_ITEM_ACQUIRED | int | 1020 | fires when items with the ITEM_ACQUIRED_EVENT_ID variable set are picked up. The event is fired to the module | events_h |
EVENT_TYPE_SET_GAME_MODE | int | 1021 | fires to the module when the game mode is set with the game mode being set carried as an integer on the event | events_h |
EVENT_TYPE_COMBAT_END | int | 1022 | fires to creature_core when combat ends | events_h |
EVENT_TYPE_DYING | int | 1023 | fired by effect_death_h when a creature received the killing blow | events_h |
EVENT_TYPE_PLAYER_LEVELUP | int | 1024 | fired by the levelup system into player_core. | events_h |
EVENT_TYPE_AMBIENT_CONTINUE | int | 1026 | fired by engine when conversation ends or player is nearby to resume ambient behaviour | events_h |
EVENT_TYPE_MODULE_CHARGEN_DONE | int | 1027 | fired the the core chargen script into the module | events_h |
EVENT_TYPE_PARTY_MEMBER_HIRED | int | 1028 | fired when a party member is added to the party pool | events_h |
EVENT_TYPE_SUMMON_DIED | int | 1029 | fired when the summon died. | events_h |
EVENT_TYPE_CONFUSION_CALLBACK | int | 1030 | events_h | |
EVENT_TYPE_PARTY_MEMBER_FIRED | int | 1031 | events_h | |
EVENT_TYPE_UNIQUE_POWER | int | 1032 | events_h | |
EVENT_TYPE_APPROACH_TRAP | int | 1033 | Trap triggered and the creature receiving this event should approach the trap | events_h |
EVENT_TYPE_CAMPAIGN_ITEM_LOST | int | 1034 | fire to the module when the ITEM_LOST_EVENT variable is set on an item removed form player inventory | events_h |
EVENT_TYPE_TRAP_TRIGGER_DISARMED | int | 1045 | Fired to trap's signal target(s) when the trap is disarmed | events_h |
EVENT_TYPE_UNLOCK_FAILED | int | 1046 | Fired to placeable when unlock attempt fails | events_h |
EVENT_TYPE_OPENED | int | 1047 | Fired to placeable when it has been opened | events_h |
EVENT_TYPE_TRAP_RESET | int | 1048 | Fired to trap's signal target(s) so it releases/retracts/resets when trap is triggered | events_h |
EVENT_TYPE_TRAP_DISARM | int | 1049 | Fired to a trap to cause itself to disarm | events_h |
EVENT_TYPE_TRAP_ARM | int | 1050 | Fired to a trap to cause itself to arm. | events_h |
EVENT_TYPE_TRAP_TRIGGER_ENTER | int | 1051 | events_h | |
EVENT_TYPE_TRAP_TRIGGER_EXIT | int | 1052 | events_h | |
EVENT_TYPE_TRAP_TRIGGER_ARMED | int | 1053 | events_h | |
EVENT_TYPE_CUSTOM_COMMAND_COMPLETE | int | 1054 | events_h | |
EVENT_TYPE_MODULE_HANDLE_GIFT | int | 1055 | events_h | |
EVENT_TYPE_MODULE_HANDLE_FOLLOWER_DEATH | int | 1056 | yes! its only here for Wynne! | events_h |
EVENT_TYPE_SET_INTERACTIVE | int | 1057 | events_h | |
EVENT_TYPE_OBJECT_ACTIVE | int | 1058 | events_h | |
EVENT_TYPE_SPELLSCRIPT_INDIVIDUAL_IMPACT | int | 1066 | impact | events_h |
EVENT_TYPE_DESTROY_OBJECT | int | 1070 | object should destroy itself | events_h |
EVENT_TYPE_COMBO_IGNITE | int | 1080 | events_h | |
EVENT_TYPE_DROP_STEALTH | int | 1090 | events_h | |
EVENT_TYPE_CREATURE_SHAPESHIFTED | int | 1100 | events_h | |
EVENT_TYPE_PARTY_MEMBER_RES_TIMER | int | 1201 | party members are rezzed on this event if it happens outside of combat | events_h |
EVENT_TYPE_DELAYED_GM_CHANGE | int | 2000 | events_h | |
EVENT_TYPE_AUTOPAUSE | int | 2001 | events_h | |
EVENT_TYPE_DEBUG_KICKSTART_AI | int | 9998 | kickstart the AI if it was frozen. | events_h |
EVENT_TYPE_DEBUG_RESURRECTION | int | 9999 | resurrection button handler for death panel | events_h |
EVENT_TYPE_QA_EVENT | int | 30200 | events_h | |
EVENT_TYPE_QA_EVENT_BLA | int | 30201 | events_h | |
EVENT_TYPE_PROVING_ENTER | int | 50001 | events_h | |
EVENT_TYPE_PROVING_START | int | 50002 | events_h | |
EVENT_TYPE_PROVING_WIN | int | 50003 | events_h | |
EVENT_TYPE_PROVING_LOSE | int | 50004 | events_h | |
EVENT_TYPE_PROVING_EXIT | int | 50005 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_01 | int | 50006 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_02 | int | 50007 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_03 | int | 50008 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_04 | int | 50009 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_05 | int | 50010 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_06 | int | 50013 | events_h | |
EVENT_TYPE_STEALING_SUCCESS | int | 50011 | events_h | |
EVENT_TYPE_STEALING_FAILURE | int | 50012 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_07 | int | 50014 | events_h | |
EVENT_TYPE_CUSTOM_EVENT_08 | int | 50015 | events_h |
Remarks
Events_h contains several comment relating to event type literals
- 1015 is used by ambient ai
- 30200 to 30300 are reserved for QA
- 50000 to 60000 are reserved for plot events
- 80000 to 81000 are reserved for run database events: see design_tracking_h for their actual definition