player_get_nearest_trigger_of_type(trigger_type, player_name[, enabled_only]) |
|
Parameters: |
trigger_type | | (string) type of trigger (as per the TRIGGER_ACTION_TYPE_TABLE property table) |
player_name | | (string) name of the player |
enabled_only | | (boolean, optional) set to true to only search through enabled triggers, or false to search through all triggers (defaults to true) |
|
Returns: |
(string) name of the nearest trigger of the particular type, or "" if not found |
|
Description: |
Get the nearest script trigger of a particular type to the player. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |