on_district_changed(func_name, name)

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

Description:
Register a callback function for when the player moves to a different district.

When the callback is executed, the following parameters are passed to it:
 - (string) name of the player
 - (string) name of the district that the player moved into
 - (string) name of the district that the player came from

 

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