25 lines
449 B
Plaintext
25 lines
449 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
int iQuest;
|
|
int iOrb;
|
|
int iStep;
|
|
object oPC;
|
|
|
|
oPC = GetPCSpeaker();
|
|
iQuest = GetLocalInt(oPC,"Quest");
|
|
iStep = GetLocalInt(oPC,"QuestStep");
|
|
|
|
iOrb = GetLocalInt(oPC,"OrbQuest");
|
|
|
|
iResult = FALSE;
|
|
|
|
//debug
|
|
//SendMessageToPC(oPC,"Quest: " + IntToString(iQuest) + " Orb " + IntToString(iOrb) + " Step " + IntToString(iStep));
|
|
|
|
if (iQuest == 5 && iOrb == 3 && iStep == 2)
|
|
iResult = TRUE;
|
|
|
|
return iResult;
|
|
}
|