You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing open and closed issues.
Description
The TSU wiki section on Complex Custom Conditionals describes that the needle value for a bool variable will be 1 or 2, and not true or false.
Testing this, I have found that the value for false is actually 0, not 2.
Here is a weakaura which simply shows as active, and has 2 conditions on a complex condition, checking True and False, then inside the test function I print the value for needle, which shows only a 1 or a 0, never a 2
Create a bool complex custom condition variable and print the value for needle after creating conditions which check the variable for True or False in the dropdown.
Alternatively you can use the wago I created as a test case, but I understand if you want to create it yourself from scratch.
Is there an existing issue for this?
Description
The TSU wiki section on Complex Custom Conditionals describes that the
needle
value for abool
variable will be1
or2
, and nottrue
orfalse
.Testing this, I have found that the value for false is actually
0
, not2
.Here is a weakaura which simply shows as active, and has 2 conditions on a complex condition, checking True and False, then inside the
test
function I print the value forneedle
, which shows only a1
or a0
, never a2
https://wago.io/jcI7U80xj
WeakAuras Version
5.7.1
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
US/NA
Tested with only WeakAuras
Lua Error
No response
Reproduction Steps
Create a
bool
complex custom condition variable and print the value forneedle
after creating conditions which check the variable for True or False in the dropdown.Alternatively you can use the wago I created as a test case, but I understand if you want to create it yourself from scratch.
Last Good Version
No response
Screenshots
No response
Export String
The text was updated successfully, but these errors were encountered: