WildStar:API EVENT ChangeWorld: Difference between revisions
Jump to navigation
Jump to search
m (Bear moved page //API EVENT ChangeWorld to API EVENT ChangeWorld without leaving a redirect) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{\|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) | ||
function MyAddOn:OnChangeWorld() | function MyAddOn:OnChangeWorld() | ||
Latest revision as of 07:24, 9 August 2023
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.