Description
Wiki Description
Flags this actor to be attacked by all actors when detected
Documentation Comment
Sets this actor to be attacked by all other actors on sight
Parameters
boolabAttackOnSight=true
CK Wiki Description
Whether to set or clear the actor's attacke on sight status.
- Default:True
Examples
; Set Buddy to be attacked by everyone
Buddy.SetAttackActorOnSight(); Clear buddy getting attacked by everyone
Buddy.SetAttackActorOnSight(false)Auto-Generated Example
bool myBool__abAttackOnSight
myActor__toCallFunctionOn.SetAttackActorOnSight(myBool__abAttackOnSight)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
