PRC8/nwn/nwnprc/trunk/scripts/prc_npc_userdef.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

14 lines
468 B
Plaintext

//::///////////////////////////////////////////////
//:: 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);
}