on_pickup(func_name, name)

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

Description:
Register a callback function for when an item is picked up by the player.

When the callback is executed, the following parameters are passed to it:
 - (string) name of the player that picked up the item
 - (string) name of the item

 

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