I have an older addon that I am trying to update. It used to run GetInstanceInfo() and get the mapId and difficulty value but now the difficulty doesn’t seem to be returned from the function with the event PLAYER_ENTERING_WORLD anymore, always being 0.
Has anyone experienced this and found a work around?
Thank you!
The function has changed over the years. Make sure you are using the latest format of the returns list.
I think I am using it correctly as when I run it after being zoned in it returns all the expected values.
I have a feeling all of the values are not available when the PLAYER_ENTERING_WORLD event is fired like they used to be. I am wondering if I need to use an different event.
On entering world check:
IsInInstance()
If so run:
RequestRaidInfo()
and wait for the event:
UPDATE_INSTANCE_INFO
Then call:
GetInstanceInfo()
1 Like