Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] So I have an NPC in each zone to apply / remove a zone wide buff to all players. But if the player i

[DiscordArchive] So I have an NPC in each zone to apply / remove a zone wide buff to all players. But if the player i

[DiscordArchive] So I have an NPC in each zone to apply / remove a zone wide buff to all players. But if the player i

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
12-03-2023, 02:22 PM
#1
Archived author: sudlud • Posted: 2023-12-03T14:22:54.763000+00:00
Original source

So I have an NPC in each zone to apply / remove a zone wide buff to all players. But if the player is at the other end of the zone the npc might not be loaded so the NPC script is not running?
rektbyfaith
12-03-2023, 02:22 PM #1

Archived author: sudlud • Posted: 2023-12-03T14:22:54.763000+00:00
Original source

So I have an NPC in each zone to apply / remove a zone wide buff to all players. But if the player is at the other end of the zone the npc might not be loaded so the NPC script is not running?

rektbyfaith
Administrator
0
12-03-2023, 02:23 PM
#2
Archived author: sudlud • Posted: 2023-12-03T14:23:21.355000+00:00
Original source

so what could I do here
rektbyfaith
12-03-2023, 02:23 PM #2

Archived author: sudlud • Posted: 2023-12-03T14:23:21.355000+00:00
Original source

so what could I do here

rektbyfaith
Administrator
0
12-03-2023, 02:23 PM
#3
Archived author: Bench • Posted: 2023-12-03T14:23:50.468000+00:00
Original source

*Might* be able to get away with SetActive since it's a world event and thus limited duration
rektbyfaith
12-03-2023, 02:23 PM #3

Archived author: Bench • Posted: 2023-12-03T14:23:50.468000+00:00
Original source

*Might* be able to get away with SetActive since it's a world event and thus limited duration

rektbyfaith
Administrator
0
12-03-2023, 02:23 PM
#4
Archived author: Rymercyble • Posted: 2023-12-03T14:23:51.108000+00:00
Original source

im pretty sure u need to load maps
rektbyfaith
12-03-2023, 02:23 PM #4

Archived author: Rymercyble • Posted: 2023-12-03T14:23:51.108000+00:00
Original source

im pretty sure u need to load maps

rektbyfaith
Administrator
0
12-03-2023, 02:25 PM
#5
Archived author: sudlud • Posted: 2023-12-03T14:25:05.146000+00:00
Original source

Yeah that was one idea but then I remembered gultask saying it should be avoided also if the NPC is not loaded who is setting him active
rektbyfaith
12-03-2023, 02:25 PM #5

Archived author: sudlud • Posted: 2023-12-03T14:25:05.146000+00:00
Original source

Yeah that was one idea but then I remembered gultask saying it should be avoided also if the NPC is not loaded who is setting him active

rektbyfaith
Administrator
0
12-03-2023, 02:25 PM
#6
Archived author: sudlud • Posted: 2023-12-03T14:25:26.703000+00:00
Original source

You mean preload all maps?
rektbyfaith
12-03-2023, 02:25 PM #6

Archived author: sudlud • Posted: 2023-12-03T14:25:26.703000+00:00
Original source

You mean preload all maps?

rektbyfaith
Administrator
0
12-03-2023, 02:25 PM
#7
Archived author: Bench • Posted: 2023-12-03T14:25:59.812000+00:00
Original source

Gultask is right, aside from things with a limited lifespan, SetActive should be avoided, but since world event, I personally would say it qualifies, but might just be me
rektbyfaith
12-03-2023, 02:25 PM #7

Archived author: Bench • Posted: 2023-12-03T14:25:59.812000+00:00
Original source

Gultask is right, aside from things with a limited lifespan, SetActive should be avoided, but since world event, I personally would say it qualifies, but might just be me

rektbyfaith
Administrator
0
12-03-2023, 02:26 PM
#8
Archived author: sudlud • Posted: 2023-12-03T14:26:20.772000+00:00
Original source

Alright I’ll see if I can make it work
rektbyfaith
12-03-2023, 02:26 PM #8

Archived author: sudlud • Posted: 2023-12-03T14:26:20.772000+00:00
Original source

Alright I’ll see if I can make it work

rektbyfaith
Administrator
0
12-03-2023, 02:26 PM
#9
Archived author: Bench • Posted: 2023-12-03T14:26:48.127000+00:00
Original source

Don't have an answer for the who is doing it part, I've no experience with it
rektbyfaith
12-03-2023, 02:26 PM #9

Archived author: Bench • Posted: 2023-12-03T14:26:48.127000+00:00
Original source

Don't have an answer for the who is doing it part, I've no experience with it

rektbyfaith
Administrator
0
12-03-2023, 02:35 PM
#10
Archived author: Rymercyble • Posted: 2023-12-03T14:35:54.902000+00:00
Original source

yes bcs when maps are not loaded so are not npcs and nothing happens outside where is player
rektbyfaith
12-03-2023, 02:35 PM #10

Archived author: Rymercyble • Posted: 2023-12-03T14:35:54.902000+00:00
Original source

yes bcs when maps are not loaded so are not npcs and nothing happens outside where is player

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)