Hey, I have a "Boss Fight" involving 2 npcs.
How do i make it, so the dead mob respawns when the players all die?
Hey, I have a "Boss Fight" involving 2 npcs.
How do i make it, so the dead mob respawns when the players all die?
-Ekarc
Simply use some basic commands
if pUnit:GetRandomPlayer() false
then
pUnit:SpawnCreature(entryID, x, y, z, o, faction, duration)
There ya go![]()
Thx, that helped.
Although there's a new problem:
The spawned NPCs don't agro together anymore... Any idea how to fix this?
-Ekarc
Hmm what do you mean don't aggro together?
I think he means that they are right next to each other and when you come into aggro range only one of them agrros
The following statement is true
The previous statement is false
Like, I made the 2 units both the faction 1701, so that when one is attacked, both units will come.
Although the spawned unit does not agro the second mob...
resulting in players to easily cheat this boss fight, by only fighting one unit at a time...![]()
-Ekarc