View Single Post
09/01/22, 05:31 PM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Info from Dan about the EVENT_PLAYER_ACTIVATED "initial" parameter 2:
It is poorly named. What that bool means to the code is "activateIsNotAResultOfUIReload"
Effectively, if the player activated because you just came into a zone (login or jump) it'll be true. If the player activated because you did a reload ui, but you were already in and didn't jump anywhere, it'll be false.

Reloading UI does not re initialize your player state in the eyes of the client or the server. It just reloads the UI. Jumping basically kills all knowledge of your player state and recreates it from the server, almost as if you just logged in.
  Reply With Quote