Cleaned up and enhanced badlands area

jaysyn got the rumormill convo working
updated all the npcs that use it
This commit is contained in:
EpicValor
2023-09-05 21:26:15 -05:00
parent c434ae59d5
commit 49aab355dd
73 changed files with 21849 additions and 4867 deletions

View File

@@ -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;
}