#include "nw_i0_generic" void main() { object oSelf = OBJECT_SELF; object oTarget; object oSpawn; // Get the PC who is in this conversation. object oPC = GetPCSpeaker(); // Spawn some critters. oTarget = GetWaypointByTag("WP_SPn_MHGrd2"); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "mhgrd", GetLocation(oTarget)); AssignCommand(oSpawn, DetermineCombatRound(oPC)); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "mhgrd", GetLocation(oTarget)); AssignCommand(oSpawn, DetermineCombatRound(oPC)); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "mhgrd", GetLocation(oTarget)); AssignCommand(oSpawn, DetermineCombatRound(oPC)); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "mhgrd", GetLocation(oTarget)); AssignCommand(oSpawn, DetermineCombatRound(oPC)); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "tulmakiz2", GetLocation(oTarget)); AssignCommand(oSpawn, DetermineCombatRound(oPC)); // Destroy an object (not fully effective until this script ends). DelayCommand(3.0, DestroyObject(oSelf)); }