Xiux70221@legacy41589030 (talk | contribs) No edit summary |
(Added CHAT_MSG_ACHIEVEMENT) |
||
Line 61: | Line 61: | ||
; arg1 : indicates number of talent points changed: -1 indicates one used (learning a talent), 1 indicates one gained (leveling) |
; arg1 : indicates number of talent points changed: -1 indicates one used (learning a talent), 1 indicates one gained (leveling) |
||
+ | |||
+ | |} |
||
+ | |||
+ | ===== ===== |
||
+ | {| |
||
+ | {{evt|CHAT_MSG_ACHIEVEMENT|Communication,Guild,Achievement}} |
||
+ | |||
+ | Fired when a player in your vicinity completes an achievement<br /> |
||
+ | |||
+ | ; arg1 : The full body of the broadcast message |
||
+ | ; arg2, arg5 : The name of player who has just completed the achievement |
||
+ | ; arg7, arg8 : Some integer |
||
|} |
|} |
Revision as of 03:02, 30 December 2008
Template:Eventlistheader
|}
"CANCEL_LOOT_ROLL" | Category: Loot |
|
"CANCEL_SUMMON" | Category: Player |
|
"CHANNEL_COUNT_UPDATE" | Category: Misc |
|
"CHANNEL_FLAGS_UPDATED" | Category: Misc |
|
"CHANNEL_PASSWORD_REQUEST" | Category: Misc |
|
"CHANNEL_ROSTER_UPDATE" | Category: Misc |
|
"CHANNEL_UI_UPDATE" | Category: Misc |
|
"CHANNEL_VOICE_UPDATE" | Category: Misc |
|
"CHARACTER_POINTS_CHANGED" | Category: Player |
|
"CHAT_MSG_ACHIEVEMENT" | Category: Communication,Guild,Achievement |
|
"CHAT_MSG_ADDON" | Category: Communication |
(new with patch 1.12) Fired when the client receives a message from SendAddonMessage
|
"CHAT_MSG_AFK" | Category: Communication |
|
"CHAT_MSG_BATTLEGROUND" | Category: Communication,Battleground |
(new with patch 1.12) Fired when a message is received through the battleground group channel
|
"CHAT_MSG_BATTLEGROUND_LEADER" | Category: Communication,Battleground |
(new with patch 1.12) Fired when a message is received from the leader of the battleground group
|
"CHAT_MSG_BG_SYSTEM_ALLIANCE" | Category: Communication,Battleground |
|
"CHAT_MSG_BG_SYSTEM_HORDE" | Category: Communication,Battleground |
|
"CHAT_MSG_BG_SYSTEM_NEUTRAL" | Category: Communication,Battleground |
|
"CHAT_MSG_CHANNEL" | Category: Communication |
|
"CHAT_MSG_CHANNEL_JOIN" | Category: Communication |
|
"CHAT_MSG_CHANNEL_LEAVE" | Category: Communication |
|
"CHAT_MSG_CHANNEL_LIST" | Category: Communication |
Fired when ListChannels() or ListChannelByName() is called, and the message is displayed in the chat frame.
|
"CHAT_MSG_CHANNEL_NOTICE" | Category: Communication |
|
"CHAT_MSG_CHANNEL_NOTICE_USER" | Category: Communication |
CHAT_*_NOTICE in GlobalStrings.lua has a full list of available types.
|
"CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_HITS" | Category: Obsolete Events |
Fired when a creature hits another creature. Note that this can fire for players if the server is out of sync.
|
"CHAT_MSG_COMBAT_CREATURE_VS_CREATURE_MISSES" | Category: Obsolete Events |
Fired when a creature misses another creature. Note that this can fire for players if the server is out of sync.
|
"CHAT_MSG_COMBAT_CREATURE_VS_PARTY_HITS" | Category: Obsolete Events |
Fired when a creature hits a party member
|
"CHAT_MSG_COMBAT_CREATURE_VS_PARTY_MISSES" | Category: Obsolete Events |
Fired when a creature misses a party member
|
"CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS" | Category: Obsolete Events |
Fired when a creature hits you or your pet
|
"CHAT_MSG_COMBAT_CREATURE_VS_SELF_MISSES" | Category: Obsolete Events |
Fired when a creature misses you or your pet
|
"CHAT_MSG_COMBAT_ERROR" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_FACTION_CHANGE" | Category: Combat |
|
"CHAT_MSG_COMBAT_FRIENDLYPLAYER_HITS" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_FRIENDLYPLAYER_MISSES" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_FRIENDLY_DEATH" | Category: Obsolete Events |
Fired when a friendly player dies
|
"CHAT_MSG_COMBAT_HONOR_GAIN" | Category: Honor,Combat |
|
"CHAT_MSG_COMBAT_HOSTILEPLAYER_HITS" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_HOSTILEPLAYER_MISSES" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_HOSTILE_DEATH" | Category: Obsolete Events |
If you provide the killing blow, you may or may not get a 'unit dies' event but you will get a 'slain unit' event, the 'slain unit' event is fired before the 'unit dies' message is, if you do not provide the killing blow you will get a 'unit dies'. Fired when any hostile NPC or player dies near you.
|
"CHAT_MSG_COMBAT_MISC_INFO" | Category: Misc |
|
"CHAT_MSG_COMBAT_PARTY_HITS" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_PARTY_MISSES" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_PET_HITS" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_PET_MISSES" | Category: Obsolete Events |
|
"CHAT_MSG_COMBAT_SELF_HITS" | Category: Obsolete Events |
Fired when a you hit a creature. Also called when you hurt yourself by falling, drowning or burning on a campfire.
|
"CHAT_MSG_COMBAT_SELF_MISSES" | Category: Obsolete Events |
Fired when a you miss a creature
|
"CHAT_MSG_COMBAT_XP_GAIN" | Category: Player |
|
"CHAT_MSG_DND" | Category: Communication |
|
"CHAT_MSG_EMOTE" | Category: Communication |
|
"CHAT_MSG_GUILD" | Category: Communication,Guild |
|
"CHAT_MSG_GUILD_ACHIEVEMENT" | Category: Communication,Guild,Achievment |
|
"CHAT_MSG_IGNORED" | Category: Communication |
When testing this event the character name is sent twice as arg1 and arg2, Blizzard appears to use arg2 and ignores arg1.
|
"CHAT_MSG_LOOT" | Category: Loot |
|
"CHAT_MSG_MONEY" | Category: Loot |
|
"CHAT_MSG_MONSTER_EMOTE" | Category: Communication |
(Note: As of 1.12 arg1 now contains a %s string variable for where the mob name should be placed) |
"CHAT_MSG_MONSTER_SAY" | Category: Communication |
|
"CHAT_MSG_MONSTER_WHISPER" | Category: Communication |
|
"CHAT_MSG_MONSTER_YELL" | Category: Communication |
|
"CHAT_MSG_OFFICER" | Category: Communication |
|
"CHAT_MSG_PARTY" | Category: Communication,Party |
|
"CHAT_MSG_RAID" | Category: Communication,Party |
|
"CHAT_MSG_RAID_BOSS_EMOTE" | Category: Communication |
|
"CHAT_MSG_RAID_LEADER" | Category: Communication,Party |
|
"CHAT_MSG_RAID_WARNING" | Category: Communication,Party |
|
"CHAT_MSG_SAY" | Category: Communication |
Example: of your MyMod.xml file. Then, have a function like the following in your MyMod.lua file: function MyMod_Say(event, arg1, arg2, arg3) PrevMsg = arg1; PrevPlyr = arg2; PrevLang = arg3; end This would store the previous message, player who said it, and language it was said in into some variables. |
"CHAT_MSG_SKILL" | Category: Player,Skill |
arg1 formats are found in Blizzard's GlobalStrings.lua. Some possibilities:
|
"CHAT_MSG_SPELL_AURA_GONE_OTHER" | Category: Obsolete Events |
Fired whenever a buff or debuff wears off of a mob, npc, or another player. Does not fire for party members. Examples: Thorns, Trueshot Aura, Recently Bandaged. arg1 is the full chat text, i.e. "Thorns fades from Someguy."
|
"CHAT_MSG_SPELL_AURA_GONE_SELF" | Category: Obsolete Events |
Fired whenever a buff or debuff wears off - examples, Prowl, Mark of the Wild, Cat Form, or Disarm. arg1 is the full chat text, i.e. "Prowl fades from you." |
"CHAT_MSG_SPELL_BREAK_AURA" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_CREATURE_VS_CREATURE_BUFF" | Category: Obsolete Events |
Fired when a mob begins casting a beneficial spell and again when the casting is completed. arg1 is the full combat chat text. Examples: Mob begins to cast Heal. Mob's Heal heals Mob for 20.
|
"CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE" | Category: Obsolete Events |
Fired when a creature begins to cast a damage spell or when a creature casts a damage spell on a raid member who is not in your group. Also triggered when a pet is damaged by a creature's spell. Ex: Ragnaros' Wrath of Ragnaros hits PlayerName for 1000.
|
"CHAT_MSG_SPELL_CREATURE_VS_PARTY_BUFF" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_CREATURE_VS_PARTY_DAMAGE" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_CREATURE_VS_SELF_BUFF" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE" | Category: Obsolete Events |
Fired when a mob completes casting a harmful spell on you. (The message for the mob beginning to cast is given by CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE.)
Examples:
|
"CHAT_MSG_SPELL_DAMAGESHIELDS_ON_OTHERS" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_DAMAGESHIELDS_ON_SELF" | Category: Obsolete Events |
Fired when a buff (or possibly item) damages an opponent in response to an action... IE Thorns.
|
"CHAT_MSG_SPELL_FAILED_LOCALPLAYER" | Category: Obsolete Events |
Fired when you fail to successfully cast a spell, for one of several reasons. arg1 is the full combat chat text and includes the reason. Examples: You fail to cast Heal: Interrupted. You fail to perform Bear Form: Not enough mana. |
"CHAT_MSG_SPELL_FRIENDLYPLAYER_BUFF" | Category: Obsolete Events |
Fired when a non-hostile player begins casting a spell or using a skill.
Some examples:
|
"CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF" | Category: Obsolete Events |
Fired on multiple silly occasions.
Example:
|
"CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_ITEM_ENCHANTMENTS" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_PARTY_BUFF" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_PARTY_DAMAGE" | Category: Obsolete Events |
Discovered a bug with this event as of v1.8. You can use CHAT_MSG_FRIENDLYPLAYER_DAMAGE to check for "Bob begins to cast Firebolt." However, if Bob joins your party, it does not show up in CHAT_MSG_SPELL_PARTY_DAMAGE as one would expect. It shows up in CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE. This seems to only be the case for "begins to cast". Other damage messages properly show up under CHAT_MSG_SPELL_PARTY_DAMAGE.
|
"CHAT_MSG_SPELL_PERIODIC_CREATURE_BUFFS" | Category: Obsolete Events |
Fired when a mob gains an "insta-cast" beneficial effect. arg1 is the full combat chat text. Examples: Mob gains Defensive Stance. Mob gains Rushing Charge. Mob gains Demon Skin.
|
"CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE" | Category: Obsolete Events |
Example:
Also records other people's DoT's, whether you are grouped or not, in combat or not. |
"CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_BUFFS" | Category: Obsolete Events |
Fired when a non-hostile player gains a "buff" effect.
Examples:
|
"CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS" | Category: Obsolete Events |
For some weird reason, this event is fired when someone heals yourself or another player, eg "Priest's Flash Heal critically heals you for 2342" Haven't tested any other conditions as of yet.
|
"CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE" | Category: Obsolete Events |
Indicates afflictions on players which are classified as hostile to the player. Covers ability types such as rend, polymorph, sap etc.
|
"CHAT_MSG_SPELL_PERIODIC_PARTY_BUFFS" | Category: Obsolete Events |
Example:
|
"CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_PERIODIC_SELF_BUFFS" | Category: Obsolete Events |
Fired when a buff is cast on self. (Unknown if external buff triggers this).
Example:
Also called for each "tick" of recurring effects, such as "heal-over-time" spells. Example: You gain 10 health from Rejuvenation. --Syllani |
"CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE" | Category: Obsolete Events |
Fired (possibly among other times) when you are debuffed - so Disarm, Silenced, etc. I know the name doesn't match, but if you want to verify, enable printing this in your chat log. Get into combat and get debuffed. After combat, scroll back up, and while the debuff message is onscreen, change the chat color of this message, and you will see it change... Very strange. I assume this is named after poisons or diseases, but I haven't actually tested if those trigger this. See CHAT_MSG_SPELL_AURA_GONE_SELF if you want to know when it wears off (both buffs and debuffs). This is accurate as of US Release 1.2.4 (4222), tested by hacking Scrolling Combat Text.
This is also fired during the Gnomish Death Ray's channel. This is indeed triggered by poison / disease. arg1 messages in the form of: "You suffer 3 damage from Scorpid's Poison" or "You are afflicted by Something" come from this event. --Syllani |
"CHAT_MSG_SPELL_PET_BUFF" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_PET_DAMAGE" | Category: Obsolete Events |
|
"CHAT_MSG_SPELL_SELF_BUFF" | Category: Obsolete Events |
Fired when you cast a beneficial spell. arg1 is the full combat chat text. Examples: Your Heal heals you for 50. Your Regrowth critically heals Someguy for 100. UnitHealth(...) is not updated when this event occours, it is possible to determine the exact overheal with something like this: Overheal = HealFromCombatChat - (UnitHealthMax(...) - UnitHealth(...));
|
"CHAT_MSG_SPELL_SELF_DAMAGE" | Category: Obsolete Events |
Fired whenever you cast a harmful spell, be it direct damage or debuff of any kind, be it Warrior's taunt or DoT. arg1 holds the exact same string that is posted to the Combat Log. (eg. "Your Fireball hits Snivvle for 842.") Also fired when your spell does not actually take effect; ie. if it is resisted, or if the target is immune. A "resist" message is "Your Banish was resisted by Felguard Elite." while an "immune" message is of the format "Your Fire Blast failed. Firelord is immune." |
"CHAT_MSG_SPELL_TRADESKILLS" | Category: Skill |
|
"CHAT_MSG_SYSTEM" | Category: Communication |
arg1 formats are found in Blizzard's GlobalStrings.lua. Some possibilities:
|
"CHAT_MSG_TEXT_EMOTE" | Category: Communication |
|
"CHAT_MSG_WHISPER" | Category: Communication |
The rest of the arguments appear to be nil
|
"CHAT_MSG_WHISPER_INFORM" | Category: Communication |
|
"CHAT_MSG_YELL" | Category: Communication |
|
"CINEMATIC_START" | Category: Misc |
|
"CINEMATIC_STOP" | Category: Misc |
|
"CLEAR_TOOLTIP" | Category: Tooltip |
|
"CLOSE_INBOX_ITEM" | Category: Mail |
|
"CLOSE_TABARD_FRAME" | Category: Misc |
|
"CLOSE_WORLD_MAP" | Category: Map |
local Map_Changed = false; function MyAddon_OnEvent() if ( (event == "WORLD_MAP_UPDATE") and WorldMapFrame:IsVisible() ) then Map_Changed = true; end end function MyAddon_OnUpdate() if ( (Map_Changed) and not WorldMapFrame:IsVisible() ) then ...do this... Map_Changed = false; end end When the second function is called, it checks to see if the map has been opened/closed (Map_Changed), then checks to see if the map is currently open (WorldMapFrame). The effect is a code that executes only when the map closes. |
"COMBAT_LOG_EVENT" | Category: Combat |
See API COMBAT LOG EVENT for more information. This event fires only if it matches current global combat log filter settings. |
"COMBAT_LOG_EVENT_UNFILTERED" | Category: Obsolete Events |
(New in 2.4.0) See API COMBAT LOG EVENT for more information. AddOns wanting to parse all events the moment they happen should register for this event. (See blue posting http://forums.worldofwarcraft.com/thread.html?topicId=2968233433&sid=1&pageNo=9#177 for more info) |
"COMBAT_RATING_UPDATE" | Category: Player |
|
"COMBAT_TEXT_UPDATE" | Category: Combat |
(new with patch 1.12) Fired when the player takes or avoids damage, receives heals, gains mana/energy/rage, etc. This event is used by Blizzard's floating combat text addon.
arg3 does NOT return amount absorbed since at least patch 2.4
|
"COMPANION_LEARNED" | Category: Companion |
(New with patch 3.0)
|
"COMPANION_UPDATE" | Category: Companion |
(New with patch 3.0) If the type is nil, the UI should update if it's visible, regardless of which type it's managing. If the type is non-nil, then it will be either "CRITTER" or "MOUNT" and that signifies that the active companion has changed and the UI should update if it's currently showing that type. |
"COMSAT_START" | Category: Communication |
|
"COMSAT_STOP" | Category: Communication |
|
"CONFIRM_BINDER" | Category: Misc |
|
"CONFIRM_LOOT_ROLL" | Category: Loot |
|
"CONFIRM_PET_UNLEARN" | Category: Pet |
|
"CONFIRM_SUMMON" | Category: Misc |
|
"CONFIRM_TALENT_WIPE" | Category: Misc |
|
"CONFIRM_XP_LOSS" | Category: Death |
History: Way back before WoW was released, you lost experience rather than durability when you resurrected at a spirit healer. |
"CORPSE_IN_INSTANCE" | Category: Death |
|
"CORPSE_IN_RANGE" | Category: Death |
|
"CORPSE_OUT_OF_RANGE" | Category: Death |
|
"CRAFT_CLOSE" | Category: Tradeskill |
|
"CRAFT_SHOW" | Category: Tradeskill |
|
"CRAFT_UPDATE" | Category: Tradeskill |
|
"CRITERIA_UPDATE" | Category: Achievements |
|
"CURRENT_SPELL_CAST_CHANGED" | Category: Spell |
|
"CURSOR_UPDATE" | Category: Misc |
|
"CVAR_UPDATE" | Category: System |
|