-
Spread value question
Hi,
I thought the "spread value" features is really straight forward, but I cannot make this work:
-Created three instances of an active object on event "Start of Frame".
-Afterwards I spread the values 1-3 into alterable value A.
Now, I want to have following action:
Number of lives < Alterable Value A(myActiveObject) --> hide object
Obviously, this is showing the player's remaining lives, but it hides ALL instances es soon as the number of lives is 2 or lower instead of hiding only those instances having Alterable Value >= 2.
I can see the values correctly spead in the dubugger.
I always thougtht that only those instances get effected which satisfy the given condition?
-
Your condition is backwards - you have to say:
+ Alt.Val.A("Object") >= Number of Lives
-> Object: Hide
-