Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] So my creature just casts the spell that then spawns the gameobject - is there anything else to do s

[DiscordArchive] So my creature just casts the spell that then spawns the gameobject - is there anything else to do s

[DiscordArchive] So my creature just casts the spell that then spawns the gameobject - is there anything else to do s

rektbyfaith
Administrator
0
12-10-2023, 01:08 PM
#1
Archived author: sudlud • Posted: 2023-12-10T13:08:16.659000+00:00
Original source

So my creature just casts the spell that then spawns the gameobject - is there anything else to do so that they „belong together“?
rektbyfaith
12-10-2023, 01:08 PM #1

Archived author: sudlud • Posted: 2023-12-10T13:08:16.659000+00:00
Original source

So my creature just casts the spell that then spawns the gameobject - is there anything else to do so that they „belong together“?

rektbyfaith
Administrator
0
12-10-2023, 01:08 PM
#2
Archived author: sudlud • Posted: 2023-12-10T13:08:54.643000+00:00
Original source

I even tried to manually set ownerGUID, hmm I’ll re-check
rektbyfaith
12-10-2023, 01:08 PM #2

Archived author: sudlud • Posted: 2023-12-10T13:08:54.643000+00:00
Original source

I even tried to manually set ownerGUID, hmm I’ll re-check

rektbyfaith
Administrator
0
12-10-2023, 01:09 PM
#3
Archived author: sudlud • Posted: 2023-12-10T13:09:07.137000+00:00
Original source

Or I just directly spawn the GO that should also fix it right
rektbyfaith
12-10-2023, 01:09 PM #3

Archived author: sudlud • Posted: 2023-12-10T13:09:07.137000+00:00
Original source

Or I just directly spawn the GO that should also fix it right

rektbyfaith
Administrator
0
12-10-2023, 01:22 PM
#4
Archived author: sudlud • Posted: 2023-12-10T13:22:00.472000+00:00
Original source

Also the creature is no tempsummon if that is relevant
rektbyfaith
12-10-2023, 01:22 PM #4

Archived author: sudlud • Posted: 2023-12-10T13:22:00.472000+00:00
Original source

Also the creature is no tempsummon if that is relevant

rektbyfaith
Administrator
0
12-10-2023, 02:33 PM
#5
Archived author: Nyeriah • Posted: 2023-12-10T14:33:26.995000+00:00
Original source

maybe
rektbyfaith
12-10-2023, 02:33 PM #5

Archived author: Nyeriah • Posted: 2023-12-10T14:33:26.995000+00:00
Original source

maybe

rektbyfaith
Administrator
0
12-10-2023, 08:10 PM
#6
Archived author: sudlud • Posted: 2023-12-10T20:10:56.040000+00:00
Original source

alright, after spawning the gameobject by spell I add it to the creature by:
GameObject* go = findnearestGameObject(…)
me->AddGameObject(go)

then it seems to despawn together with the creature
rektbyfaith
12-10-2023, 08:10 PM #6

Archived author: sudlud • Posted: 2023-12-10T20:10:56.040000+00:00
Original source

alright, after spawning the gameobject by spell I add it to the creature by:
GameObject* go = findnearestGameObject(…)
me->AddGameObject(go)

then it seems to despawn together with the creature

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