Emotion Functions

Busy

Forces NPC to be Busy.

Equivalent to SetAttr "busy [1/0]", so it's somewhat unused.

Syntax

Busy [true/false]


Hate

Forces Hate towards a target object.

    Note

  • NPC's Squad members will forget or hate the same target object.

Syntax

Hate [true/false],[normal/guard/assault/retreat/roundup]:[param] -- Tactical variant and param only works with Military NPCs

Example


// Will only work with Military NPCs
pt_hateGuard
{
    actions
    {
        Hate true,guard:1500
    }
}

// Will work with normal NPCs and including Military ones too
pt_hateThem
{
    actions
    {
        Hate true
    }
}