EN4_PRC8/_module/nss/qst_c_03.nss
Jaysyn904 b464d8da05 Initial Commit
Initial Commit [v1.32PRC8]
2025-04-03 13:38:45 -04:00

20 lines
364 B
Plaintext

int StartingConditional()
{
int iResult;
int iQuest;
string sQuestGiver;
iQuest = GetLocalInt(GetPCSpeaker(),"Quest");
sQuestGiver = GetLocalString(GetPCSpeaker(),"QuestGiver");
iResult = FALSE;
if (iQuest > 0 && sQuestGiver != GetTag(OBJECT_SELF))
{
iResult = TRUE;
SetCustomToken(98,GetName(GetObjectByTag(sQuestGiver)));
}
return iResult;
}