EN4_PRC8/_module/nss/qst_c_1.nss

22 lines
378 B
Plaintext
Raw Normal View History

int StartingConditional()
{
object oPC;
string sTarget;
int iResult;
int iQuest;
int iOverall;
oPC = GetPCSpeaker();
sTarget = GetLocalString(oPC,"QuestTargetNPC");
iQuest = GetLocalInt(oPC,"QuestType");
iOverall = GetLocalInt(oPC,"OnOverallQuest");
iResult = FALSE;
if (iQuest == 1 && sTarget == GetTag(OBJECT_SELF) && iOverall == 0)
iResult = TRUE;
return iResult;
}