attack_closest_player(name)

Parameters:
name (string) name of the NPC
 
Returns:
none

Description:
Make an NPC attack the closest player.

This script action will silently fail if the NPC is dead.

 

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