//::///////////////////////////////////////////////
//:: Default On Heartbeat
//:: NW_C2_DEFAULT1
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
    This script will have people perform default
    animations.
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Nov 23, 2001
//:://////////////////////////////////////////////
#include "NW_I0_GENERIC"

void main()
{
    // Haspaar should move back to the center of his lair 20% of the time
    //int nRoll = Random(10) + 1 ;
    //if ((nRoll <=2) && (!(IsInConversation(OBJECT_SELF))))
    //{
    //    ActionMoveToObject(GetObjectByTag("JHR_WP_DRAGONLAIR"));
    //}
    if(GetSpawnInCondition(NW_FLAG_HEARTBEAT_EVENT))
    {
        SignalEvent(OBJECT_SELF, EventUserDefined(1001));
    }
}
