[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
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“?
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
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
Archived author: sudlud • Posted: 2023-12-10T13:22:00.472000+00:00
Original source
Also the creature is no tempsummon if that is relevant
Archived author: Nyeriah • Posted: 2023-12-10T14:33:26.995000+00:00
Original source
maybe
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