NodeCanvas Forums › Support › Bug(?) in CheckField's visual condition display.
When dealing with booleans, the Check Field condition renders like this in the canvas:
“If BlackboardVariable.BooleanValue”
regardless of whether you’re checking “BlackboardVariable.BooleanValue == true” or “BlackboardVariable.BooleanValue == false.”
That’s because of this line:
This makes it hard to tell at a glance whether you’re doing a “is true” or “is false” kind of check.
Compare this to CheckVariable, which does this:
Which results in this (always obvious) display on the GUI
“If BlackboardParameter == True” or “If BlackboardParameter == False”
Hello and sorry for the late reply due to Eastern!
Hmm. I did this by design so that is “looks like” more similar to what is looking like in code when checking boolean variables, like for example:
if (myVariable){ //... }
But I can see that it can be confusing. I just removed the special case boolean check as to be more consistent with clear.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email