Removed JAI
Removed JAI, added CODI AI. Fixed encounters & NPCs in Forest of Hope Central. Fixed Outcast store not opening. Added Druid Grove & associated NPCS.
This commit is contained in:
28
_module/nss/ra_ai_heartbeat.nss
Normal file
28
_module/nss/ra_ai_heartbeat.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name ra_ai_heartbeat
|
||||
//:: Copyright (c) 2022 Project RATDOG
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
NPC Heartbeat event script caller to run CODI
|
||||
AI & PRC events.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 20221201
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
//:: Equips best armor
|
||||
if ((!GetIsInCombat(OBJECT_SELF) && (GetItemInSlot(INVENTORY_SLOT_CHEST) == OBJECT_INVALID)))
|
||||
DelayCommand(0.5f, ActionEquipMostEffectiveArmor());
|
||||
|
||||
//:: Execute the CODI NPC OnHeartbeat script
|
||||
ExecuteScript("no_ai_hrt", OBJECT_SELF);
|
||||
|
||||
//:: Execute the default NPC OnHeartbeat script
|
||||
//ExecuteScript("nw_c2_default1", OBJECT_SELF);
|
||||
|
||||
//:: Execute the PRC NPC OnHeartbeat script
|
||||
ExecuteScript("prc_npc_hb", OBJECT_SELF);
|
||||
}
|
Reference in New Issue
Block a user