Aantioch_Infernum/_module/nss/prc_pwonspawn.nss
EpicValor f6270c3cb8 Tweaked several areas, mobs, and added
the codi ai to some mobs.
2023-09-28 23:01:25 -05:00

34 lines
877 B
Plaintext

//:://////////////////////////////////////////////////
//:: 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);
SetSpawnInCondition(NW_FLAG_AMBIENT_ANIMATIONS);
SetAnimationCondition(NW_ANIM_FLAG_IS_CIVILIZED);
//SetAnimationCondition(NW_ANIM_FLAG_CHATTER);
//SetCombatCondition(X0_COMBAT_FLAG_RANGED);
//SetCombatCondition(X0_COMBAT_FLAG_DEFENSIVE);
WalkWayPoints();
// ***** ADD ANY SPECIAL ON-SPAWN CODE HERE ***** //
DelayCommand(2.0, ExecuteScript("random_drop", OBJECT_SELF));
}