Hello,
Wondering if someone can please help me. I have a group search and refined value like this:
gg.searchNumber("0.10000000149;2.5;6.0::9", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("6", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
local t = gg.getResults(1)
gg.addListItems(t)
t = nil
What I'd like to do is use the result of "6" from above to perform a "NearBy Search" with an "After" distance of 500 for value: -1 DWORD. The problem is the address of the "6" keeps changing when I restart the game. Is there a proper way to code the script so that it does what I need even when the address of the "6" changes? I've searched and played around with it and couldn't figure it out at all. Not even sure if it's doable. That's why I'm asking. Would appreciate any assistance.