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