Mod:Creation Kit/SetAttackActorOnSight - Actor

Member of: Mod:Creation Kit/Actor Script

Flags this actor to be attacked by all actors when detected

Syntax
Function SetAttackActorOnSight(bool abAttackOnSight = true) native

Parameters

 * abAttackOnSight: Whether to set or clear the actor's attacke on sight status.
 * Default: True

Return Value
None.

Examples
Buddy.SetAttackActorOnSight Buddy.SetAttackActorOnSight(false)
 * Set Buddy to be attacked by everyone
 * Clear buddy getting attacked by everyone