Relation

The relation of an NPC.

Syntax

Relation:[relation type] -- Returns the relation type specified

All Relation Types

Relation:neutral ; Relation:enemy ; Relation:fear

Example


// If the relation to our caller is of enemy, target them!
IfAttr "RelationTo:caller == Relation:enemy Block begin"
    TargetCaller 1
Block end