on_human_killed(func_name)

Parameters:
func_name (string) name of function or "" to unregister the event
 
Returns:
none

Description:
Register a callback function for when an npc gets killed

When the callback function is executed, the following parameters are passed to it: - (string) team of npc - (string) name of killer - (string) name of npc

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15