//:://///////////////////////////////////////////// //:: Name x2_def_heartbeat //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Default Heartbeat script */ //::////////////////////////////////////////////// //:: Created By: Keith Warner //:: Created On: June 11/03 //::////////////////////////////////////////////// void main() { if ((!GetIsInCombat(OBJECT_SELF) && (GetItemInSlot(INVENTORY_SLOT_CHEST) == OBJECT_INVALID))) DelayCommand(0.5f, ActionEquipMostEffectiveArmor()); //:: Execute the default NPC OnHeartbeat script ExecuteScript("nw_c2_default1", OBJECT_SELF); //:: Execute the PRC NPC OnHeartbeat script ExecuteScript("prc_npc_hb", OBJECT_SELF); }