Lankhmar_PRC8/_module/nss/cnv_spn_ofortrss.nss

48 lines
1.9 KiB
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
object oTarget;
object oSpawn;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Give 5 experience (to party) to the PC.
GiveXPToAll(oPC, 5);
oTarget = GetWaypointByTag("WP_olsentinel1");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oTarget = GetWaypointByTag("WP_olsentinel2");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oTarget = GetWaypointByTag("WP_olsentinel3");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oTarget = GetWaypointByTag("WP_olsentinel4");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oTarget = GetWaypointByTag("WP_olsentinel5");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oTarget = GetWaypointByTag("WP_olsentinel6");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "olsentinel", GetLocation(oTarget));
oTarget = GetObjectByTag("Ellard2");
DestroyObject(oTarget, 4.0);
}