npc_use_closest_action_node_of_type(npc_name, node_type[, radius]) |
|
Parameters: |
npc_name | | (string) name of the NPC |
node_type | | (string) type of the action node (as specified in action_node_npcs.xtbl) |
radius | | (float, optional) distance to look for an action node, in meters (defaults to 10) |
|
Returns: |
(boolean) true if the NPC found and is using an action node, else false |
|
Description: |
Make an NPC use the closest action node of a particular type. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |