Is there anyway to make it so that automatically on death of a creature several more creatures spawn? any help would be very much appreciated :3
Thanks in advance
Is there anyway to make it so that automatically on death of a creature several more creatures spawn? any help would be very much appreciated :3
Thanks in advance
Change ID to ID of creature you want to be spawned, FactionID to Faction ID of the creature to be spawned and Duration to duration you want the spawned creature to stay, and CreatureID to creature you want to spawn the creature when it dies.Code:function creature_ondeath(Unit, Event) x=Unit:GetX() y=Unit:GetY() z=Unit:GetZ() o=Unit:GetO() Unit:SpawnCreature(ID, x, y, z, o, FactionID, Duration) end RegisterUnitEvent(CreatureID, 4, "creature_ondeath")
Hope this helped ^^
Thanks! I'll rep you if I can