is there a way to check if a variable is above, below, same as, or other than an amount. or anything close to what I’m asking.
how I’m looking to use this is to see if I have a variable above 0 and if so do an action(for different attributes such as health, stamina, magic, xp, carry capacity, things like that)
this will help thank you but it wasn’t what I was looking for at the moment.
if there was a way to get something like this but with an input making the check when something like a button was pressed.
When you click on a button (keyboard, mouse, controller, etc.), it will fire an event, so you link your code to the event.
Just as onOverlap or OnHit fires an event.
You can also bind bind things, so, for example, if you are displaying a character’s health, the display widget is bound to the character’s health variable, which could have an assortment of cod attached to it.
I believe I have found a way around my problems with that. this should work with what I need. thank you vary much. I will verify functionality of this and return to this to set your answer to correct if it works. again thank you this is a huge help to many aspects of my game.