EVENT TYPE *

From Dragon Age Toolset Wiki
Jump to: navigation, search
Source: script.ldf
Constant name Type Value Description Source
EVENT_TYPE_ABILITY_ACQUIRED int 73 script.ldf
EVENT_TYPE_ABILITY_CAST_IMPACT int 31 script.ldf
EVENT_TYPE_ABILITY_CAST_START int 32 script.ldf
EVENT_TYPE_ABILITY_PROJECTILE_LAUNCHED int 93 script.ldf
EVENT_TYPE_AOE_HEARTBEAT int 74 script.ldf
EVENT_TYPE_APPLY_EFFECT int 33 script.ldf
EVENT_TYPE_AREALIST_POSTLOAD int 80 script.ldf
EVENT_TYPE_AREALOAD_POSTLOADEXIT int 39 script.ldf
EVENT_TYPE_AREALOAD_PRELOADEXIT int 38 script.ldf
EVENT_TYPE_AREALOAD_SPECIAL int 40 script.ldf
EVENT_TYPE_AREALOADSAVE_POSTLOADEXIT int 43 script.ldf
EVENT_TYPE_AREALOADSAVE_PRELOADEXIT int 42 script.ldf
EVENT_TYPE_AREALOADSAVE_SPECIAL int 41 script.ldf
EVENT_TYPE_ATTACK_IMPACT int 29 script.ldf
EVENT_TYPE_BEGIN_TRAVEL int 91 script.ldf
EVENT_TYPE_BLOCKED int 10 script.ldf
EVENT_TYPE_CHANTERS_DONATION int 69 script.ldf
EVENT_TYPE_CHAR_RECORD_OPENED int 95 script.ldf
EVENT_TYPE_CHARGEN_ASSIGN_ABILITIES int 51 script.ldf
EVENT_TYPE_CHARGEN_ASSIGN_ATTRIBUTES int 50 script.ldf
EVENT_TYPE_CHARGEN_END int 59 script.ldf
EVENT_TYPE_CHARGEN_IMPORT_HERO int 53 script.ldf
EVENT_TYPE_CHARGEN_SCREEN_ENTERED int 45 script.ldf
EVENT_TYPE_CHARGEN_SELECT_BACKGROUND int 55 script.ldf
EVENT_TYPE_CHARGEN_SELECT_CLASS int 47 script.ldf
EVENT_TYPE_CHARGEN_SELECT_GENDER int 54 script.ldf
EVENT_TYPE_CHARGEN_SELECT_LEVELUP_CLASS int 52 script.ldf
EVENT_TYPE_CHARGEN_SELECT_NAME int 49 script.ldf
EVENT_TYPE_CHARGEN_SELECT_RACE int 46 script.ldf
EVENT_TYPE_CHARGEN_SELECT_SOUNDSET int 48 script.ldf
EVENT_TYPE_CHARGEN_START int 44 script.ldf
EVENT_TYPE_CLICK int 15 script.ldf
EVENT_TYPE_CODEX_CHANGED int 100 script.ldf
EVENT_TYPE_COMBAT_INITIATED int 30 script.ldf
EVENT_TYPE_COMMAND_COMPLETE int 36 script.ldf
EVENT_TYPE_COMMAND_PENDING int 35 script.ldf
EVENT_TYPE_CRAFT_ITEM int 102 script.ldf
EVENT_TYPE_CREATURE_ENTERS_DIALOGUE int 86 script.ldf
EVENT_TYPE_DAMAGED int 2 script.ldf
EVENT_TYPE_DEATH int 4 script.ldf
EVENT_TYPE_DEATH_RES_PARTY int 61 script.ldf
EVENT_TYPE_DIALOGUE int 18 script.ldf
EVENT_TYPE_ENTER int 8 script.ldf
EVENT_TYPE_EQUIP int 11 script.ldf
EVENT_TYPE_EXIT int 9 script.ldf
EVENT_TYPE_FAILTOOPEN int 13 script.ldf
EVENT_TYPE_GAMEMODE_CHANGE int 60 script.ldf
EVENT_TYPE_GAMEOBJECTSLOADED int 37 script.ldf
EVENT_TYPE_GET_PLOT int 28 script.ldf
EVENT_TYPE_GIFT_ITEM int 82 script.ldf
EVENT_TYPE_GIVE_UP int 88 script.ldf
EVENT_TYPE_GUI_OPENED int 84 script.ldf
EVENT_TYPE_HEARTBEAT2 int 81 script.ldf
EVENT_TYPE_INVALID int 0 script.ldf
EVENT_TYPE_INVENTORY_ADDED int 6 script.ldf
EVENT_TYPE_INVENTORY_FULL int 85 script.ldf
EVENT_TYPE_INVENTORY_REMOVED int 7 script.ldf
EVENT_TYPE_ITEM_ONHIT int 65 script.ldf
EVENT_TYPE_ITEM_ONTEST_USABLE int 70 script.ldf
EVENT_TYPE_LEVEL_OF_THE_WEEK int 72 script.ldf
EVENT_TYPE_LISTENER int 21 script.ldf
EVENT_TYPE_LOAD_TACTICS_PRESET int 83 script.ldf
EVENT_TYPE_LOCKED int 22 script.ldf
EVENT_TYPE_MANA_STAM_DEPLETED int 64 script.ldf
EVENT_TYPE_MELEE_ATTACK_START int 5 script.ldf
EVENT_TYPE_MODULE_GETCHARSTAGE int 63 script.ldf
EVENT_TYPE_MODULE_LOAD int 20 script.ldf
EVENT_TYPE_MODULE_PRESAVE int 62 script.ldf
EVENT_TYPE_MODULE_START int 19 script.ldf
EVENT_TYPE_ON_ORDER_RECEIVED int 90 script.ldf
EVENT_TYPE_ON_SELECT int 89 script.ldf
EVENT_TYPE_OPTIONS_CHANGED int 96 script.ldf
EVENT_TYPE_PARTY_MONEY_CHANGED int 99 script.ldf
EVENT_TYPE_PARTYMEMBER_ADDED int 66 script.ldf
EVENT_TYPE_PARTYMEMBER_DROPPED int 67 script.ldf
EVENT_TYPE_PARTYPICKER_CLOSED int 71 script.ldf
EVENT_TYPE_PARTYPICKER_INIT int 104 script.ldf
EVENT_TYPE_PERCEPTION_APPEAR int 25 script.ldf
EVENT_TYPE_PERCEPTION_DISAPPEAR int 26 script.ldf
EVENT_TYPE_PLACEABLE_COLLISION int 77 script.ldf
EVENT_TYPE_PLACEABLE_ONCLICK int 78 script.ldf
EVENT_TYPE_PLAYER_COMMAND_ADDED int 94 script.ldf
EVENT_TYPE_PLAYERLEVELUP int 24 script.ldf
EVENT_TYPE_PLOT_COMPLETED int 98 script.ldf
EVENT_TYPE_POPUP_RESULT int 76 script.ldf
EVENT_TYPE_REACHED_WAYPOINT int 79 script.ldf
EVENT_TYPE_REMOVE_EFFECT int 34 script.ldf
EVENT_TYPE_ROAM_DIST_EXCEEDED int 97 script.ldf
EVENT_TYPE_RUBBER_BAND int 87 script.ldf
EVENT_TYPE_SET_PLOT int 27 script.ldf
EVENT_TYPE_SPAWN int 3 script.ldf
EVENT_TYPE_SPELLCASTAT int 1 script.ldf
EVENT_TYPE_TRAINING_BEGIN int 1059 script.ldf
EVENT_TYPE_TRAINING_DELAYED_NOACTION int 1068 script.ldf
EVENT_TYPE_TRAINING_FOLLOWER_SELECTED int 1060 script.ldf
EVENT_TYPE_TRAINING_GUI_INVENTORY_OPENED int 1063 script.ldf
EVENT_TYPE_TRAINING_GUI_LEVLUP_OPENED int 1062 script.ldf
EVENT_TYPE_TRAINING_GUI_TACTICS_OPENED int 1061 script.ldf
EVENT_TYPE_TRAINING_ITEM_EQUIPPED int 1071 script.ldf
EVENT_TYPE_TRAINING_ITEM_UNEQUIPPED int 1070 script.ldf
EVENT_TYPE_TRAINING_MAXIMUM_ZOOM_IN int 1065 script.ldf
EVENT_TYPE_TRAINING_MOVEMENT_COMMAND_ISSUED int 1073 script.ldf
EVENT_TYPE_TRAINING_QBAR_ITEM_EQUIPPED int 1064 script.ldf
EVENT_TYPE_TRAINING_TACTIC_PRESET_SELECTED int 1072 script.ldf
EVENT_TYPE_TRAINING_UNPAUSE int 1069 script.ldf
EVENT_TYPE_TRAINING_WEAPON_EQUIPPED int 1067 script.ldf
EVENT_TYPE_TRAP_DISARMED int 17 script.ldf
EVENT_TYPE_TRAP_TRIGGERED int 16 script.ldf
EVENT_TYPE_UNEQUIP int 12 script.ldf
EVENT_TYPE_UNLOCKED int 23 script.ldf
EVENT_TYPE_USE int 14 script.ldf
EVENT_TYPE_USE_ABILITY_IMMEDIATE int 101 script.ldf
EVENT_TYPE_USE_PLOTACTION int 68 script.ldf
EVENT_TYPE_WORLD_MAP_CLOSED int 75 script.ldf
EVENT_TYPE_WORLDMAP_POSTTRANSITION int 103 script.ldf
EVENT_TYPE_WORLDMAP_PRETRANSITION int 92 script.ldf
Source: Core Game Resources.events_h
Constant name Type Value Description Source
EVENT_TYPE_CHARGEN_AUTOLEVEL int 56 events_h
EVENT_TYPE_ATTACKED int 1001 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_STEALING_SUCCESS int 50011 events_h
EVENT_TYPE_STEALING_FAILURE int 50012 events_h
EVENT_TYPE_CUSTOM_EVENT_06 int 50013 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