WizardryEE/Module/nss/lvl10_msg02.nss
Jaysyn904 71a604d04a Added NESS. Updated Level 10
Added NESS.  Updated Level 10.  Full compile.
2023-04-20 23:24:24 -04:00

22 lines
609 B
Plaintext

void main()
{
object oActor;
// Get the creature who triggered this event.
object oPC = GetEnteringObject();
// Only fire for (real) PCs.
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
return;
// Only fire once per PC.
if ( GetLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF)) )
return;
SetLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
// Have Werna's Sending strike up a conversation with the PC.
oActor = GetNearestObjectByTag("LVL10_MSG02", oPC);
AssignCommand(oActor, ActionStartConversation(oPC, "lvl10_msg02", FALSE, FALSE));
}