flee(name[, flee_from_name[, force_cower[, ignore_distance]]])

Parameters:
name (string) name of the NPC who is fleeing
flee_from_name (string, optional) name of the character to flee from (defaults to "#PLAYER1#")
force_cower (boolean, optional) set to true if the NPC should start fleeing in cower run animation (defaults to false)
ignore_distance (boolean, optional) set to true if the NPC should continue fleeing regardless of how far he gets from the flee-from target (defaults to false)
 
Returns:
none

Description:
Make an NPC flee from another human.
 

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