Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] 32 in total wordlwide or for specific location ?

[DiscordArchive] 32 in total wordlwide or for specific location ?

[DiscordArchive] 32 in total wordlwide or for specific location ?

rektbyfaith
Administrator
0
07-27-2022, 09:17 AM
#1
Archived author: Rymercyble • Posted: 2022-07-27T09:17:14.003000+00:00
Original source

32 in total wordlwide or for specific location ?
rektbyfaith
07-27-2022, 09:17 AM #1

Archived author: Rymercyble • Posted: 2022-07-27T09:17:14.003000+00:00
Original source

32 in total wordlwide or for specific location ?

rektbyfaith
Administrator
0
07-27-2022, 09:19 AM
#2
Archived author: Honey • Posted: 2022-07-27T09:19:59.926000+00:00
Original source

I'm afraid that question is either not clear to me or is pointing to a misunderstanding.

Every object including NPCs and players is getting assigned a phasemask. If the phasemask matches between a player and another object, they can see the object.
rektbyfaith
07-27-2022, 09:19 AM #2

Archived author: Honey • Posted: 2022-07-27T09:19:59.926000+00:00
Original source

I'm afraid that question is either not clear to me or is pointing to a misunderstanding.

Every object including NPCs and players is getting assigned a phasemask. If the phasemask matches between a player and another object, they can see the object.

rektbyfaith
Administrator
0
07-27-2022, 09:21 AM
#3
Archived author: Honey • Posted: 2022-07-27T09:21:11.081000+00:00
Original source

Let's say a player has phasemask 11, they would see phases 8,2 and 1. If an object has phasemask 12, resulting in it's existance in phases 8+4, it would be visible to this player because phase 8 matches.
rektbyfaith
07-27-2022, 09:21 AM #3

Archived author: Honey • Posted: 2022-07-27T09:21:11.081000+00:00
Original source

Let's say a player has phasemask 11, they would see phases 8,2 and 1. If an object has phasemask 12, resulting in it's existance in phases 8+4, it would be visible to this player because phase 8 matches.

rektbyfaith
Administrator
0
07-27-2022, 09:22 AM
#4
Archived author: Honey • Posted: 2022-07-27T09:22:36.250000+00:00
Original source

The map/world is not relevant for this.
Phasemask for players can change e.g. `OnPlayerChangeArea()` cosidering what quests they have completed or any other condition.
rektbyfaith
07-27-2022, 09:22 AM #4

Archived author: Honey • Posted: 2022-07-27T09:22:36.250000+00:00
Original source

The map/world is not relevant for this.
Phasemask for players can change e.g. `OnPlayerChangeArea()` cosidering what quests they have completed or any other condition.

rektbyfaith
Administrator
0
07-27-2022, 09:22 AM
#5
Archived author: Rymercyble • Posted: 2022-07-27T09:22:46.016000+00:00
Original source

oh
rektbyfaith
07-27-2022, 09:22 AM #5

Archived author: Rymercyble • Posted: 2022-07-27T09:22:46.016000+00:00
Original source

oh

rektbyfaith
Administrator
0
07-27-2022, 09:24 AM
#6
Archived author: Rymercyble • Posted: 2022-07-27T09:24:15.757000+00:00
Original source

i think this knowledge just made new content for my server i didnt see coming with that i can effectively create open world raid
rektbyfaith
07-27-2022, 09:24 AM #6

Archived author: Rymercyble • Posted: 2022-07-27T09:24:15.757000+00:00
Original source

i think this knowledge just made new content for my server i didnt see coming with that i can effectively create open world raid

rektbyfaith
Administrator
0
07-27-2022, 09:27 AM
#7
Archived author: Honey • Posted: 2022-07-27T09:27:52.578000+00:00
Original source

Pretty much yes. See my eventScripts repo for a working example.
rektbyfaith
07-27-2022, 09:27 AM #7

Archived author: Honey • Posted: 2022-07-27T09:27:52.578000+00:00
Original source

Pretty much yes. See my eventScripts repo for a working example.

rektbyfaith
Administrator
0
07-27-2022, 09:29 AM
#8
Archived author: Rymercyble • Posted: 2022-07-27T09:29:10.231000+00:00
Original source

would i need some npc to change player phase or is there some more elegant solution ?
rektbyfaith
07-27-2022, 09:29 AM #8

Archived author: Rymercyble • Posted: 2022-07-27T09:29:10.231000+00:00
Original source

would i need some npc to change player phase or is there some more elegant solution ?

rektbyfaith
Administrator
0
07-27-2022, 09:49 AM
#9
Archived author: Honey • Posted: 2022-07-27T09:49:49.727000+00:00
Original source

Any hook where can execute code works
rektbyfaith
07-27-2022, 09:49 AM #9

Archived author: Honey • Posted: 2022-07-27T09:49:49.727000+00:00
Original source

Any hook where can execute code works

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