By request, this function will be called when the last member of a spawn group is killed, good for ring events
Code: Select all
function group_dead(NPC, Spawn)
end
NPC is the dead spawn and Spawn is the killer. Each member of the spawn group will need this in there spawn script (or they could all share the same script) as the last spawn to be killed will call it from their script.