generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
27
_module/nss/qst_ck_var_gt_a.nss
Normal file
27
_module/nss/qst_ck_var_gt_a.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user