function Nightshroud_CheckA(Unit)
if Unit:GetHealthPct() < 75 then
Unit:CastSpell(37669)
Unit:SendChatMessage(12, 0, "Voidwalkers, come to me!")
Unit:SpawnCreature(100245, 4249, -4136, 939, 0.5, 21, 360000);
Unit:SpawnCreature(100245, 4259, -4132, 938, 1.22, 21, 360000);
Unit:SpawnCreature(100245, 4264, -4147, 940, 1.5, 21, 360000);
end
end
or however, how does the unit spawn thing work? this piece of LUA is taken from Gastricpenguin , but what are the things?
what should i edit so the creature spawns out of his corpse?
What i know:
Unit:SpawnCreature(Entryid, 4264, -4147, 940, 1.5, 21, Despawningtime);
Unit:SpawnCreature(100245, 4264, -4147, 940, 1.5, 21, 360000);
but what should i add in the other 4 spots? thanks if you can help me:P