Hello,
Tried writing a script to automate using the new "Sweat Out Some Booze" skill, and found that although the property "sweat" returns with a value higher than 25, the following script won't trigger when looking up the value.
EDIT:
Thread may not be necessary, can't reproduce the bug anymore, it seems to now be able to check the value correctly? No clue why it couldn't previously, or why it suddenly can now, but it runs commands properly after checking this value now.
Tried writing a script to automate using the new "Sweat Out Some Booze" skill, and found that although the property "sweat" returns with a value higher than 25, the following script won't trigger when looking up the value.
I then tried the following, removing the condition of "_sweatOutSomeBoozeUsed" to see if that was the issue, and it still didn't trigger.if (get_property("sweat") >= 25 && (get_property("_sweatOutSomeBoozeUsed") < 3 )) { use_skill($skill[7414]); }
I then tried to look up what the value was actually returning with "print (get_property("sweat"));" which returned a value of 100, which is what I expected. I then tried to use the skill with the "use_skill($skill[7414]);" command and it worked perfectly fine without any conditions. There is a very real chance I've misunderstood something, or written something incorrectly, but I figured I'd check in case it was actually a bug.if (get_property("sweat") >= 25) { use_skill($skill[7414]); }
EDIT:
Thread may not be necessary, can't reproduce the bug anymore, it seems to now be able to check the value correctly? No clue why it couldn't previously, or why it suddenly can now, but it runs commands properly after checking this value now.
Last edited: