View Single Post
FluffyDingo
Senior Member
 
Join Date: Jan 2015
Posts: 160

Old March 22nd, 2018, 06:57 PM
Quote:
Originally Posted by Farling View Post
It is probably the "done if not equipped" line which is the wrong way around.
Can you post the actual code?
This is my code for that: doneif (field[gIsEquip].value = 0)
As I said, it was the first thing I checked.

Quote:
Originally Posted by ShadowChemosh View Post
I am pretty sure this is the issue. The "equipped" field is not updated until First/500 I think. What you are seeing "looks" like reverse logic because its not until the "2nd" time you turn it off the field is updated to "on" and your script fires.

Try putting in a debug statement to see when values are when your doneif() code runs. That will tell you for sure if its the timing...
Ah, so I need to run the script after First/500 so it knows if the ring is equipped, but I need to check for the tag in the conditional adding the storage item before First/495. Awkward. I'm adding a separate "item" as the storage space since its one shared space between all the rings, regardless of what combination you have equipped. To my knowledge there's no way to hide items, so I can't just bootstrap it to each ring and hide it after that point when I can check for rings equipped and add the tags? I'm kind of stumped on this one haha.
FluffyDingo is offline   #4 Reply With Quote