Lankhmar_PRC8/_module/nss/ent_cnv_wlb7.nss

23 lines
450 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oPC = GetEnteringObject();
object oTarget;
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
oTarget = GetObjectByTag("wlb7");
// Have the PC perform a sequence of actions.
AssignCommand(oPC, ActionMoveToObject(GetNearestObjectByTag("wlb7")));
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
}