EN4_PRC8/_module/nss/qst_overall2_c.nss

25 lines
526 B
Plaintext
Raw Permalink Normal View History

#include "rd_misc"
#include "utl_i_sqluuid"
int StartingConditional()
{
int iQuest;
int iOverallQuest;
int iResult;
int iNotAccepted;
string sPrefix;
object oPC;
oPC = GetPCSpeaker();
iQuest = GetLocalInt(oPC,"Quest");
iOverallQuest = SQLocalsUUID_GetInt(oPC,"OverallQuest");
iNotAccepted = GetLocalInt(oPC,"Overall2NotAccepted");
sPrefix = GetZone(OBJECT_SELF);
iResult = FALSE;
if (iQuest == 0 && iOverallQuest == 101 && iNotAccepted == 0 && sPrefix == "DW1")
iResult = TRUE;
return iResult;
}