Updated TLK for PRC8 update
Updated TLK for PRC8 update. Added placeable house blueprints. Updated NWNxEE. Full compile.
This commit is contained in:
33
_module/nss/codi_attacked.nss
Normal file
33
_module/nss/codi_attacked.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name codi_attacked
|
||||
//::
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
NPC OnAttacked event script caller to run CODI
|
||||
AI & PRC events.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 20240331
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
//--------------------------------------------------------------------------
|
||||
// GZ: 2003-10-16
|
||||
// Make Plot Creatures Ignore Attacks
|
||||
//--------------------------------------------------------------------------
|
||||
if (GetPlotFlag(OBJECT_SELF))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//:: Execute the CODI AI NPC OnAttacked script
|
||||
ExecuteScript("no_ai_atk", OBJECT_SELF);
|
||||
|
||||
//:: Execute the Default NPC OnAttacked script
|
||||
//ExecuteScript("nw_c2_default5", OBJECT_SELF);
|
||||
|
||||
//:: Execute the PRC NPC OnAttacked script
|
||||
ExecuteScript("prc_npc_physatt", OBJECT_SELF);
|
||||
}
|
Reference in New Issue
Block a user