35 lines
1016 B
Plaintext
35 lines
1016 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Name
|
||
|
//:: FileName
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Check to make sure player has not done quest before.
|
||
|
If the player has never done the quest, no variables
|
||
|
would be defined and thus all integer values would have
|
||
|
a default of zero (0).
|
||
|
|
||
|
Replace "QuestNameHere" with the variable name you want
|
||
|
to use. I suggest standardizing it in a easy to remember
|
||
|
format such as Qst_OldMan_1a. I use this format so that
|
||
|
all my quest scripts show up in the same place. I identify
|
||
|
them with a clue to who gives the quest then start a numbering
|
||
|
system to give me an idea of which script is which.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By:
|
||
|
//:: Created On:
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "toolbox_quests"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
int Quest_State = SW_GetQuestInt(oPC, "TCSB_Quest_State");
|
||
|
|
||
|
if (Quest_State == 1) return TRUE;
|
||
|
return FALSE;
|
||
|
}
|
||
|
|