on_searchlight_track(func_name, name)

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

Description:
Register a callback function for when a searchlight starts/stops tracking a character.

When the callback is executed, the following parameters are passed to it:
 - (string) name of the character
 - (string) name of the tracking searchlight
 - (boolean) true if the searchlight started tracking the character, or false if the searlight stopped tracking

 

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