How to set a condition:
Alterable Value A = (-1 to 1)
?
-1 < A < 1
For example, I need to calculate the situation in which the variable A is in the range enter values -1 <A <1
Printable View
How to set a condition:
Alterable Value A = (-1 to 1)
?
-1 < A < 1
For example, I need to calculate the situation in which the variable A is in the range enter values -1 <A <1
Use two conditions in the same event line
If A > -1
+ If A < 1:
-> Action
Thank you! It helped!
wow, thats super useful! always wondered how that command worked, (stop being so useful snail XD )
Is there a difference between Range() and RRandom()? I've been using RRandom() a lot and love it!
Oh gotchya! I've mostly been using it for screen and object shake, which I don't intend to change. It's actually very useful for that, telling Fusion to randomly move an object between this many pixels left or right, or up or down, on any given frame. It's cut my screenshake code from like 4 lines to 1.
Oh haha no I'm using it as an action, not a condition. As a condition, yeah I can't think of a situation where it wouldn't be cleaner to use Random() or Range(), even if you're using it say to detect how far the screen has shook, for instance.
Challenge accepted!