RATDOG/_module/nss/talktopc.nss
Jaysyn904 4b6d20bbc2 Module update.
More NPCs & stores spawning instead of placed.  Door scripts added.  Change all random commoners & nobles over to X2 AI scripts.
2021-09-06 01:12:39 -04:00

19 lines
295 B
Plaintext

void main()
{
object oPC = GetLastPerceived();
if (!GetIsPC(oPC)) return;
if (!GetLastPerceptionSeen()) return;
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
ActionStartConversation(oPC, "");
}