Hey everyone, I'm working on a sort of ARPG system, kind of a shooter that does damage outside of turn-based combat. I want to display the damage done on the event im shooting at. I know how to do this with a conditional branch
"If damage is 10: display the picture 1 and 0."
But that would obviously require me to make a condition for EVERY number up until 9999, which is silly of course. Has anyone learned of a way to set a variable and keep track of the One's, Ten's, Hundred's and Thousands, and then do a conditional branch saying:
"If One's = 3: show picture 3"
Hopefully this is clear what I'm saying. Thanks in advance.
I have this implemented as a counter in my time system, but since it's just a counter that counts up, its much simpler to implement.
"If damage is 10: display the picture 1 and 0."
But that would obviously require me to make a condition for EVERY number up until 9999, which is silly of course. Has anyone learned of a way to set a variable and keep track of the One's, Ten's, Hundred's and Thousands, and then do a conditional branch saying:
"If One's = 3: show picture 3"
Hopefully this is clear what I'm saying. Thanks in advance.
I have this implemented as a counter in my time system, but since it's just a counter that counts up, its much simpler to implement.



