Author Topic: LocalInt Problem  (Read 572 times)

Legacy_Ed Venture

  • Full Member
  • ***
  • Posts: 200
  • Karma: +0/-0
LocalInt Problem
« Reply #15 on: July 20, 2014, 01:44:48 pm »


               WhiZard and meaglyn,
Thank you for your help.
I took a look at the DoOnce Function in the Lexicon. They say it can be unreliable.
This is what I did instead.

if(GetTag(oItem) == "ManifestVolume98")
{
if(GetLocalInt(oItem,"OneTime") < 1)
{
AddJournalQuestEntry("JtManifest",1,oPC);
SetLocalInt(oPC,"Manifest",1); // sets original int to 1
SetLocalInt(oItem,"OneTime",1);
}
}
I think this is kinda what you were talking about. It works.
Thanks to everyone that viewed and posted. Now, let's see what I can screw up next !

Your Knight in dented armor,
Ed