CatDervish

Forces NPC to enter into Dervish mode

Note

NPC must be a Cat

Syntax

CatDervish [true/false],[time] -- Sets Dervish mode, and optionally a timer

Example


// (from ai_npc_animal.p3s)
st_deactivate
{
    Group Alert
    Patterns
    {
        pt_default
        {
            actions
            {
                CatDervish false
                SetAttr "ea_takeable 0"
                ExecutePattern bh_base:st_deactivate.pt_default
            }
        }
    }
}