17 lines
322 B
Plaintext
17 lines
322 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
object oPC;
|
|
|
|
oPC = GetPCSpeaker();
|
|
iResult = FALSE;
|
|
|
|
if (GetLocalInt(OBJECT_SELF,"TotalQuests") == 0)
|
|
SetLocalInt(OBJECT_SELF,"TotalQuests",Random(3)+2);
|
|
|
|
if (GetLocalInt(oPC,GetTag(OBJECT_SELF)) < GetLocalInt(OBJECT_SELF,"TotalQuests"))
|
|
iResult = TRUE;
|
|
|
|
return iResult;
|
|
}
|