forked from Jaysyn/PRC8
Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
13
nwn/trunk/scripts/prc_npc_userdef.nss
Normal file
13
nwn/trunk/scripts/prc_npc_userdef.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: OnUserDefined NPC eventscript
|
||||
//:: prc_npc_userdef
|
||||
//:://////////////////////////////////////////////
|
||||
#include "prc_alterations"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Unlike normal, this is executed on OBJECT_SELF. Therefore, we have to first
|
||||
// check that the OBJECT_SELF is a creature.
|
||||
if(GetObjectType(OBJECT_SELF) == OBJECT_TYPE_CREATURE)
|
||||
ExecuteAllScriptsHookedToEvent(OBJECT_SELF, EVENT_ONUSERDEFINED);
|
||||
}
|
||||
Reference in New Issue
Block a user