GetShouldAttack

From the CreationKit Wiki
Jump to navigation Jump to search

Syntax:

GetShouldAttack TargetActor 

Example:

EvilBanditBoss.GetShouldAttack player 

Return value indicates the desire of the calling actor to attack the TargetActor. If the return value is greater than 0, the actor will attack the target under normal circumstances (i.e. the actor is aggressive, can detect the target, is not restrained or unconscious, etc.).