Page 1 of 1

New Spawn Script LUA Event: group_dead

Posted: Thu Jan 28, 2016 11:45 pm
by Jabantiz
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.