Cleaned up and enhanced badlands area
jaysyn got the rumormill convo working updated all the npcs that use it
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oSelf = OBJECT_SELF;
|
||||
string sParam = GetScriptParam("iRumorNum");
|
||||
int nCheck = GetLocalInt(oSelf, "iRumor");
|
||||
if (!nCheck) // if no random value yet
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
string sParam = GetScriptParam("iRumourNum");
|
||||
int nCheck = GetLocalInt(oSelf, "iRumor");
|
||||
|
||||
//:: Set a random value if var doesn't exist
|
||||
if (!nCheck)
|
||||
SetLocalInt(oSelf, "iRumor", Random(13)+1);
|
||||
|
||||
int nVal = StringToInt(sParam);
|
||||
@@ -15,5 +18,6 @@ int StartingConditional()
|
||||
DeleteLocalInt(oSelf, "iRumor");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user