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

28 lines
526 B
Plaintext

#include "x0_i0_partywide"
void main()
{
object oTarget;
object oSpawn;
location lTarget;
// 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_SPn_udchst1");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "udchst2", lTarget);
oTarget = GetWaypointByTag("WP_SPn_udchst2");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "udchst1", lTarget);
}