void main()
{
    // Bioware Default
    ExecuteScript("nw_c2_default5", OBJECT_SELF);

    // Pop Monster - Creatures spawned by using an object.
    // They despawn after five minutes of inactivity.
    // If this enemy is attacked in any way the countdown resets.
    if(GetLocalInt(OBJECT_SELF, "POP_MONSTER") == 1)
    {
        SetLocalInt(OBJECT_SELF, "POP_MONSTER_COUNTDOWN", 300);
    }
}