Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Events/System
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
__NOTOC____NOEDITSECTION__{{eventlistheader}} <!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. --> <!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. --> <!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. --> :{{icon-information}}Note that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. [[Events/A]], [[Events/B]], etc. Changes there will be copied over to here within a few hours. == System related events == {{evt|ADDON_ACTION_BLOCKED|System}} (this event doesn't seem to be used anymore, use ADDON_ACTION_FORBIDDEN instead) ===== ===== {{evt|ADDON_ACTION_FORBIDDEN|System}} Fires when an AddOn tries use actions that are always forbidden (movement, targeting, etc.). '''If called from an AddOn''' ---- ; arg1 : Name of the AddOn that was last involved in the execution path. ; arg2 : The protected function that was called. ; Notes : It's very possible that arg1 will not be the name of the addon that tried to call the protected function. '''If called from the chat prompt (/script [[API_CastSpellByName|CastSpellByName]]("Attack"))''' ---- ; arg1 : The protected function that was called. {{evt|ADDON_LOADED|System}} This event fires whenever an AddOn is loaded (fires once for each AddOn loaded if multiple AddOns are being loaded), whether that is during the inital Loading Phase or when an AddOn is loaded using the LoadAddOn("addonname") or UIParentLoadAddon("addonname") function. This event always fires after SavedVariables of the AddOn have been loaded from disk and its OnLoad function has been executed. ; arg1 : name of the AddOn that was just loaded {{evt|CVAR_UPDATE|System}} Fired when a CVar is changed ; arg1: cvarname ; arg2: value {{evt|DISPLAY_SIZE_CHANGED|System}} {{evt|DISABLE_TAXI_BENCHMARK|System}} ? {{evt|ENABLE_TAXI_BENCHMARK|System}} ? {{evt|LOGOUT_CANCEL|System}} {{evt|MACRO_ACTION_BLOCKED|System}} (this event doesn't seem to be used anymore, use MACRO_ACTION_FORBIDDEN) {{evt|MACRO_ACTION_FORBIDDEN|System}} Sent when a macro tries use actions that are always forbidden (movement, targeting, etc.). ; arg1 : As of 3.0.2 (possibly sooner) this argument appears to always be "UNKNOWN()" {{evt|PLAYER_ENTERING_WORLD|System,Player,Instance}} Fired when the player enters the world, enters/leaves an instance, or respawns at a graveyard. Also fires any other time the player sees a loading screen. To check if the player is entering an instance, check [[API_GetPlayerMapPosition|GetPlayerMapPosition]] to see if both X and Y are zero. Correction on the above comment: When PLAYER_ENTERING_WORLD fires, you'll notice that WORLD_MAP_UPDATE fires just before it. My instincts tell that leaving an instance puts the player in void space momentarily. So for the case that you are entering AND leaving an instance, [[API_GetPlayerMapPosition|GetPlayerMapPosition]] always returns the coordinates <nowiki>[0,0]</nowiki> and hence there is no way to determine using the event PLAYER_ENTERING_WORLD if the player is entering an instance or not. When leaving an instance the following events fire (ignoring party/raid events). :WORLD_MAP_UPDATE :PLAYER_ENTERING_WORLD :WORLD_MAP_UPDATE <--- Player coordinates are non-zero here Instances do have coordinates for units once the second WORLD_MAP_UPDATE event has fired. For the case of entering a battleground such as WSG, WORLD_MAP_UPDATE won't fire until you leave Silverwing Hold or Warsong Lumber Mill and you are outside. --[[User:Salanex|Salanex]] {{evt|PLAYER_LEAVING_WORLD|System}} Fired when a player logs out and possibly at other situations as well {{evt|PLAYER_LOGIN|System}} Triggered immediately before PLAYER_ENTERING_WORLD on login and UI Reload, but NOT when entering/leaving instances. Note: Player skills such as those available through GetNumSkillLines() and relatives does not appear to be available when this event or PLAYER_ENTERING_WORLD fires during an actual player login from character-selection, as all the GetNumSkillLines()-function returns is 0 in those cases. When these events trigger from other reasons, such as zoning, the skill-related functions appear to work normally. {{evt|PLAYER_LOGOUT|System}} Sent when the player logs out or the UI is reloaded, just before SavedVariables are saved. The event fires after PLAYER_LEAVING_WORLD. {{evt|PLAYER_QUITING|System}} Fired when the player tries to quit, as opposed to logout, while outside an inn. This event does not indicate that the "''player has quit''", but instead that the "''player has the quitting option''". The dialog which appears after this event, has choices of "Exit Now" or "Cancel". The dialog which appears when you try to '''logout''' outside an inn, only has a "Cancel" choice, and the event is not fired. {{evt|SCREENSHOT_FAILED|System}} Fired when a screenshot fails. {{evt|SCREENSHOT_SUCCEEDED|System}} Fired when a screenshot is successfully taken. {{evt|SOUND_DEVICE_UPDATE|System}} ? {{evt|STREAMING_ICON|System}} Added in 4.0 for the Streaming Launcher ; arg1 : ? (number in 0-2 range) {{evt|SYNCHRONIZE_SETTINGS|System}} ? {{evt|TIME_PLAYED_MSG|Player,System,Communication}} Fired when the client received a time played message. ; arg1 : Total time ; arg2 : Current time at this level {{evt|UI_ERROR_MESSAGE|System}} Fired when the interface creates an error message. These are the red messages that show in the top middle of the screen. "Your inventory is full." is one example. ; arg1 : message {{evt|UI_INFO_MESSAGE|System,Communication}} Fired when the interface generates a message. These are the yellow messages in the top middle of the window. "No fish are hooked." is one example. ; arg1 : message {{evt|UPDATE_BINDINGS|System}} Fired when the keybindings are changed. Fired after completion of [[API LoadBindings|LoadBindings()]], [[API SaveBindings|SaveBindings()]], and [[API SetBinding|SetBinding()]] (and its derivatives). {{evt|UPDATE_MACROS|System}} {{evt|VARIABLES_LOADED|System}} Fired in response to the CVars, Keybindings and other associated "Blizzard" variables being loaded. Since key bindings and macros in particular may be stored on the server they event may be delayed a bit beyond the original loading sequence. Previously (prior to 3.0.1) the [[Events V-Z (Variables, Who, World, Zone)#VARIABLES_LOADED|VARIABLES_LOADED]] event was part of the loading sequence. Although it still occurs within the same general timeframe as the other events, it no longer has a guaranteed order that can be relied on. This may be problematic to addons that relied on the order of [[Events V-Z (Variables, Who, World, Zone)#VARIABLES_LOADED|VARIABLES_LOADED]], specifically that it would fire before [[Events P (Party, Petition, Pet, PlayerBank, Player)#PLAYER_ENTERING_WORLD|PLAYER_ENTERING_WORLD]]. Addons should not use this event to check if their addon's saved variables have loaded. They can use ADDON_LOADED (testing for arg1 being the name of the addon) or another appropriate event to initialize, ensuring that the addon works when loaded on demand.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apievents
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Eventlinks
(
edit
)
Template:Eventlistheader
(
edit
)
Template:Evt
(
edit
)
Template:Icon-information
(
edit
)
Template:Makemewide
(
edit
)
Template:Navbar
(
edit
)
Template:Navbox
(
edit
)
Template:Tcl
(
edit
)
Template:·
(
edit
)