Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Can anybody tell why `OnPlayerUpdateArea` fires when one changes area AND on the first movement afte

[DiscordArchive] Can anybody tell why `OnPlayerUpdateArea` fires when one changes area AND on the first movement afte

[DiscordArchive] Can anybody tell why `OnPlayerUpdateArea` fires when one changes area AND on the first movement afte

rektbyfaith
Administrator
0
09-28-2022, 07:23 PM
#1
Archived author: Honey • Posted: 2022-09-28T19:23:29.068000+00:00
Original source

Can anybody tell why `OnPlayerUpdateArea` fires when one changes area AND on the first movement after that?
rektbyfaith
09-28-2022, 07:23 PM #1

Archived author: Honey • Posted: 2022-09-28T19:23:29.068000+00:00
Original source

Can anybody tell why `OnPlayerUpdateArea` fires when one changes area AND on the first movement after that?

rektbyfaith
Administrator
0
09-28-2022, 07:30 PM
#2
Archived author: Honey • Posted: 2022-09-28T19:30:22.516000+00:00
Original source

The exact same happens for `OnPlayerUpdateZone()`.
rektbyfaith
09-28-2022, 07:30 PM #2

Archived author: Honey • Posted: 2022-09-28T19:30:22.516000+00:00
Original source

The exact same happens for `OnPlayerUpdateZone()`.

rektbyfaith
Administrator
0
09-28-2022, 07:33 PM
#3
Archived author: Honey • Posted: 2022-09-28T19:33:49.345000+00:00
Original source

If i am on one map and teleport to another, then move a step, there are even more events firing:
1) OnMapChanged
2) OnUpdateArea
3) OnUpdateArea
4) OnUpdateArea
1-3 happen instantly, 4 when moving.
rektbyfaith
09-28-2022, 07:33 PM #3

Archived author: Honey • Posted: 2022-09-28T19:33:49.345000+00:00
Original source

If i am on one map and teleport to another, then move a step, there are even more events firing:
1) OnMapChanged
2) OnUpdateArea
3) OnUpdateArea
4) OnUpdateArea
1-3 happen instantly, 4 when moving.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)