[DiscordArchive] 32 in total wordlwide or for specific location ?
[DiscordArchive] 32 in total wordlwide or for specific location ?
Archived author: Rymercyble • Posted: 2022-07-27T09:17:14.003000+00:00
Original source
32 in total wordlwide or for specific location ?
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.
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.
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.
Archived author: Rymercyble • Posted: 2022-07-27T09:22:46.016000+00:00
Original source
oh
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
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.
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 ?
Archived author: Honey • Posted: 2022-07-27T09:49:49.727000+00:00
Original source
Any hook where can execute code works