Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] can i trust that `OnCreatureAddWorld` only fires once per creature?

[DiscordArchive] can i trust that `OnCreatureAddWorld` only fires once per creature?

[DiscordArchive] can i trust that `OnCreatureAddWorld` only fires once per creature?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
05-25-2023, 07:17 AM
#1
Archived author: KJack • Posted: 2023-05-25T07:17:18.734000+00:00
Original source

can i trust that `OnCreatureAddWorld` only fires once per creature?
rektbyfaith
05-25-2023, 07:17 AM #1

Archived author: KJack • Posted: 2023-05-25T07:17:18.734000+00:00
Original source

can i trust that `OnCreatureAddWorld` only fires once per creature?

rektbyfaith
Administrator
0
05-25-2023, 07:17 AM
#2
Archived author: KJack • Posted: 2023-05-25T07:17:34.702000+00:00
Original source

or do i need to get some de-dupe fanciness going on?
rektbyfaith
05-25-2023, 07:17 AM #2

Archived author: KJack • Posted: 2023-05-25T07:17:34.702000+00:00
Original source

or do i need to get some de-dupe fanciness going on?

rektbyfaith
Administrator
0
05-25-2023, 07:18 AM
#3
Archived author: Anchy • Posted: 2023-05-25T07:18:13.280000+00:00
Original source

you can just store the guid of the creature and check if it already exists in your map
rektbyfaith
05-25-2023, 07:18 AM #3

Archived author: Anchy • Posted: 2023-05-25T07:18:13.280000+00:00
Original source

you can just store the guid of the creature and check if it already exists in your map

rektbyfaith
Administrator
0
05-25-2023, 07:18 AM
#4
Archived author: Anchy • Posted: 2023-05-25T07:18:19.117000+00:00
Original source

then remove the guid when the creature is removed from world
rektbyfaith
05-25-2023, 07:18 AM #4

Archived author: Anchy • Posted: 2023-05-25T07:18:19.117000+00:00
Original source

then remove the guid when the creature is removed from world

rektbyfaith
Administrator
0
05-25-2023, 07:18 AM
#5
Archived author: Anchy • Posted: 2023-05-25T07:18:27.863000+00:00
Original source

maybe
rektbyfaith
05-25-2023, 07:18 AM #5

Archived author: Anchy • Posted: 2023-05-25T07:18:27.863000+00:00
Original source

maybe

rektbyfaith
Administrator
0
05-25-2023, 07:18 AM
#6
Archived author: KJack • Posted: 2023-05-25T07:18:36.447000+00:00
Original source

hah! it *sounds* plausible.
rektbyfaith
05-25-2023, 07:18 AM #6

Archived author: KJack • Posted: 2023-05-25T07:18:36.447000+00:00
Original source

hah! it *sounds* plausible.

rektbyfaith
Administrator
0
05-25-2023, 07:18 AM
#7
Archived author: Anchy • Posted: 2023-05-25T07:18:50.437000+00:00
Original source

I don't know much about the AllCreature scripts
rektbyfaith
05-25-2023, 07:18 AM #7

Archived author: Anchy • Posted: 2023-05-25T07:18:50.437000+00:00
Original source

I don't know much about the AllCreature scripts

rektbyfaith
Administrator
0
05-25-2023, 07:19 AM
#8
Archived author: Anchy • Posted: 2023-05-25T07:19:16.773000+00:00
Original source

its important to note, each time the creature is updated it will re-modify the stats
rektbyfaith
05-25-2023, 07:19 AM #8

Archived author: Anchy • Posted: 2023-05-25T07:19:16.773000+00:00
Original source

its important to note, each time the creature is updated it will re-modify the stats

rektbyfaith
Administrator
0
05-25-2023, 07:19 AM
#9
Archived author: KJack • Posted: 2023-05-25T07:19:17.687000+00:00
Original source

that's a good idea, just storing the GUIDs and grabbing the Creature objects from those
rektbyfaith
05-25-2023, 07:19 AM #9

Archived author: KJack • Posted: 2023-05-25T07:19:17.687000+00:00
Original source

that's a good idea, just storing the GUIDs and grabbing the Creature objects from those

rektbyfaith
Administrator
0
05-25-2023, 07:19 AM
#10
Archived author: KJack • Posted: 2023-05-25T07:19:42.967000+00:00
Original source

might have some extra work to do for summoned creatures
rektbyfaith
05-25-2023, 07:19 AM #10

Archived author: KJack • Posted: 2023-05-25T07:19:42.967000+00:00
Original source

might have some extra work to do for summoned creatures

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