Background: When testing a piston, I was setting a boolean variable manually, but each time that I try to set it, it defaults to…
false if the value is true
no value set if the value is false
However, if you have set the value through the piston editor, the value will remain the same.
Steps to replicate behavior:
- Create this piston (code 6djjn)
- Click add new global variable
- Select type “boolean"
- Enter variable name test
- Click Add
- Save the Piston
- Test the piston to set the value
- Edit piston
- Click on variable “test”
Actual Behavior
Value of variable changes from false to “variable not set”
Desired Behavior
Variable maintains current value “false”
Notes
You can change the above piston to set the value as true (instead of false) then you will get this result…
Actual Behavior
Value of variable changes from true to “false”
Desired Behavior
Variable maintains current value “true”