Aantioch_Infernum/_module/nss/prc_pwonspawn.nss

27 lines
569 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
//:://////////////////////////////////////////////////
//:: prc_pwonspawn
/*
OnSpawn catch all for the PRC
*/
//:://////////////////////////////////////////////////
#include "x0_i0_anims"
void main()
{
// * This NPC will attack when its allies call for help
// *
SetSpawnInCondition(NW_FLAG_SHOUT_ATTACK_MY_TARGET);
// * Fire User Defined Event 1001 in the OnHeartbeat
// *
SetSpawnInCondition(NW_FLAG_HEARTBEAT_EVENT);
// ***** ADD ANY SPECIAL ON-SPAWN CODE HERE ***** //
ExecuteScript("random_drop",OBJECT_SELF);
}