2021-09-25 14:13:00 -04:00
|
|
|
//::///////////////////////////////////////////////
|
|
|
|
//:: 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());
|
|
|
|
|
2021-12-31 01:45:43 -05:00
|
|
|
//:: Execute the default NPC OnHeartbeat script
|
2021-09-25 14:13:00 -04:00
|
|
|
ExecuteScript("nw_c2_default1", OBJECT_SELF);
|
2021-12-31 01:45:43 -05:00
|
|
|
|
|
|
|
//:: Execute the PRC NPC OnHeartbeat script
|
|
|
|
ExecuteScript("prc_npc_hb", OBJECT_SELF);
|
2021-09-25 14:13:00 -04:00
|
|
|
}
|