WildStar:API EVENT ChangeWorld: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{uiapievent}} The '''ChangeWorld''' global event, used to know when player has changed instances. Must register to receive events. {{api||Apollo|RegisterEventHandler}}("Ch...") |
(Created page with "{{../uiapievent}} The '''ChangeWorld''' global event, used to know when player has changed instances. Must register to receive events. {{../api||Apollo|RegisterEventHandler...") |
||
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() | ||
Revision as of 06:22, 6 July 2020
{{../uiapievent}} The ChangeWorld global event, used to know when player has changed instances. Must register to receive events.
{{../api||Apollo|RegisterEventHandler}}("ChangeWorld", "OnChangeWorld", self) function MyAddOn:OnChangeWorld()
Usage
- Parameters
- Returns
Summary
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.