I’m trying to make sure that a property named “Health” does not exceed the value of another property named “MaxHealth”.
In the above screenshot you can see that the property “Health” increases whenever I press the Spacebar.
I can also make the property decrease with Backspace (these will both be replaced with “Message” sensors later on).
What I tried to do is connect the keyboard sensor with a property sensor and make the value of “Health” increase only if I press the keyboard AND the value of “Health” is less than the value of “MaxHealth”.
Unfortunately, this does nothing, even if I decrease the value of “Health” below “MaxHealth”.
After fiddling with a bunch of other ideas and coming up dry, I’ve run out of ideas and call upon the powers of the community again ^^;