WildStar:API EVENT ChangeWorld: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{../uiapievent}}
{{\|uiapievent}}
The '''ChangeWorld''' global event, used to know when player has changed instances. Must register to receive events.
The '''ChangeWorld''' global event, used to know when player has changed instances. Must register to receive events.
   
   
  {{../api||Apollo|RegisterEventHandler}}("ChangeWorld", "OnChangeWorld", self)
  {{\|api||Apollo|RegisterEventHandler}}("ChangeWorld", "OnChangeWorld", self)
  function MyAddOn:OnChangeWorld()
  function MyAddOn:OnChangeWorld()



Latest revision as of 07:24, 9 August 2023

API events < ChangeWorld

The ChangeWorld global event, used to know when player has changed instances. Must register to receive events.

Apollo.RegisterEventHandler("ChangeWorld", "OnChangeWorld", self)
function MyAddOn:OnChangeWorld()

Usage[edit]

Parameters
Returns

Summary[edit]

This event fires after player has changed instance servers, like when entering or exiting a dungeon. Does not fire when player first enters game world from the character screen, as the UI and AddOns load after the player has entered. AddOns must register for this event. Does not fire when UI is reloaded.