Further file organization
Further file organization
This commit is contained in:
15
nwn/nwnprc/trunk/scripts/prc_ai_sum_heart.nss
Normal file
15
nwn/nwnprc/trunk/scripts/prc_ai_sum_heart.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "inc_prc_npc"
|
||||
#include "inc_eventhook"
|
||||
|
||||
void main()
|
||||
{
|
||||
//Any ideas why this is here? It messes up the Create Undead Uncontrolled switch
|
||||
//if (GetMaster()== OBJECT_INVALID) DestroyObject(OBJECT_SELF);
|
||||
ExecuteScript("nw_ch_ac1", OBJECT_SELF);
|
||||
ExecuteScript("prc_npc_hb", OBJECT_SELF);
|
||||
//NPC substiture for OnEquip
|
||||
DoEquipTest();
|
||||
|
||||
// Execute scripts hooked to this event for the NPC triggering it
|
||||
ExecuteAllScriptsHookedToEvent(OBJECT_SELF, EVENT_NPC_ONHEARTBEAT);
|
||||
}
|
Reference in New Issue
Block a user