AddEnemy
SERVER
ACTOR:AddEnemy(Entity enemy, string reaction:nil, boolean always_visible:false)
Description
Sets the reaction of the actor to the event. Used in system computing.
Arguments
- enemy Entity - Any entity target.
- reaction string - Actor reaction when adding an enemy. If it is fear, then "AddEntityRelationship" will be called internally with the D_FR parameter. Any other value will set the - D_HT parameter.
- always_visible boolean - If "true", then the enemy will not be automatically removed from the list after the expiration of time if lost from sight.