set_attack_player_flag(name[, should_attack]) | ||
Parameters: | ||
name | (string) name of the NPC | |
should_attack | (boolean, optional) set to true to make the NPC attack the player on sight, or false to stop (defaults to true) | |
Returns: | ||
none | ||
Description: | ||
Make an NPC start/stop attacking the player on sight. | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |