23 lines
484 B
Plaintext
23 lines
484 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
int iFlag;
|
|
object oPC;
|
|
object oNPC;
|
|
|
|
iResult = FALSE;
|
|
|
|
oPC = GetPCSpeaker();
|
|
|
|
if (GetLocalInt(oPC,"EvilQuest") == 3 && GetLocalInt(oPC,"EvilLevel") == 2)
|
|
{
|
|
oNPC = GetObjectByTag("ip1_evilquest");
|
|
// if (GetLocalInt(oPC,GetTag(oNPC)) >= GetLocalInt(oNPC,"TotalQuests"))
|
|
if (GetLocalInt(oPC,GetTag(oNPC)) >= GetLocalInt(oNPC,"TotalQuests") && GetLocalInt(oNPC,"TotalQuests") > 0)
|
|
iResult = TRUE;
|
|
}
|
|
|
|
|
|
return iResult;
|
|
}
|