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

22 lines
476 B
Plaintext

#include "nw_i0_2q4luskan"
void main()
{
object oTarget;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Unlock and open "mhjldr1".
oTarget = GetObjectByTag("mhjldr1");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
// Spawn "mhjlr1".
oTarget = GetWaypointByTag("WP_SPn_mhjlr1");
DelayCommand(1.5, CreateObjectVoid(OBJECT_TYPE_CREATURE, "mhjlr1", GetLocation(oTarget)));
}