New Spawn Script LUA Event: group_dead

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

New Spawn Script LUA Event: group_dead

Post by Jabantiz » Thu Jan 28, 2016 11:45 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest