Aantioch_Infernum/_module/nss/prc_pwonspawn.nss
EpicValor e5f3606cac party loot with henchmen 100% working
some other changes I made last night before bed.
2023-09-19 22:54:03 -05:00

34 lines
878 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(10.0, ExecuteScript("random_drop", OBJECT_SELF));
}