Files
HeroesStone_PRC8/_module/nss/qst_ck_var_gt_a.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

28 lines
940 B
Plaintext

/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Forsettii's Quest Builder System.
Version 1.0
Created for Layonara Online
Forsettii Forsettii@yahoo.com
April 7, 2004
Talk Checks for Greater Than Value. (Solo Version)
Used in multi-part Quests to fill space.
Variables: Quest_Name - Same as Journal Entry
talk_only - when Greater than.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
#include "nw_i0_plot"
int StartingConditional()
{
string sName = GetLocalString(OBJECT_SELF, "quest_name");
int iValue = GetLocalInt(OBJECT_SELF, "talk_only");
object oPC = GetPCSpeaker();
// Inspect local variables
if(!(GetLocalInt(oPC, sName) >= iValue))
return FALSE;
return TRUE;
}