[DiscordArchive] Hello i tried to create my own boss. he should spawn a gameobject at the beginning of the fight. i
[DiscordArchive] Hello i tried to create my own boss. he should spawn a gameobject at the beginning of the fight. i
Archived author: PapierDragon • Posted: 2022-03-17T17:55:03.041000+00:00
Original source
Hello i tried to create my own boss. he should spawn a gameobject at the beginning of the fight. i used this code.
void EnterCombat(Unit* who)
{
me->SummonGameObject(999000, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, 0, 0, 0, 0, 1200);
}
at the end of the fight no matter how it ends, exactly this object and only this object should be removed. but unfortunately I do not know how can someone help me?
Archived author: Honey • Posted: 2022-03-17T17:58:43.464000+00:00
Original source
That's a good question for Stackoverflow.
Archived author: Linguster • Posted: 2022-03-17T18:20:25.073000+00:00
Original source
anyone interested in helping me compile a source on a linux server? I got 15$ for ya if it helps, just dm me
Archived author: Kito • Posted: 2022-03-17T19:47:42.489000+00:00
Original source
In the JustDied section you can look for this object and despawn it... Or maybe SummonGameObject takes an argument to specify that it despawns on creature death In SAI there is the option for things to despawn when the actor dies, maybe u can look into that source code part too