Hello,
I'm trying to add 4 Integers, and then compare the total with a value. If the total is equal to a certain amount then do something.
In the action I have set up 4 Int (Elements) and at the bottom set a variable for the 'Add To' total. The problem is, each time the action is called, it keeps adding to the previous Add To amount, rather than refreshing each time. I'm trying to set up a state where each time it's called it adds 4 Ints together to give a result, and then i can compare this result.
The Add To part is really throwing me.
It's almost like I need a Int Operator Multiple instead, which could simply add the 4 Ints and then Store Result.
Actually, that's what Int Add Multiple needs - a Store Result, instead of the Add To parameter.
Any thoughts?
Thanks in advance.