Lankhmar_PRC8/_module/nss/entr_spn_cnv_thl.nss

43 lines
730 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oTarget;
object oSpawn;
location lTarget;
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "themapofilthm")== OBJECT_INVALID)
return;
AssignCommand(oPC,ClearAllActions());
oTarget = GetWaypointByTag("WP_SPn_Cald");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "caldthello", lTarget);
oTarget = oSpawn;
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
oTarget = GetWaypointByTag("WP_SPn_Cald");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "lankhmarguard2", lTarget);
oTarget = oSpawn;
//AssignCommand(oTarget, ActionStartConversation(oPC, ""));
DestroyObject(OBJECT_SELF);
}