Lankhmar_PRC8/_module/nss/cnv_spn_mhgrds2.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

36 lines
1.0 KiB
Plaintext

#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));
}