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

25 lines
531 B
Plaintext

void main()
{
object oTarget;
object oSpawn;
location lTarget;
object oPC = GetPCSpeaker();
oTarget = GetObjectByTag("citgate1");
AssignCommand(GetObjectByTag("duchalsguard"), SetFacingPoint(GetPosition(oTarget)));
oTarget = GetObjectByTag("citgate1");
AssignCommand(oTarget, ActionOpenDoor(oTarget));
oTarget = GetWaypointByTag("WP_SPn_DuchGrd");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "duchal2", lTarget);
oTarget = oSpawn;
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
}