###

» Wed Sep 15, 2010 12:11 am

[quote="gugugu":1nb03yxn]Is there a way to make a mathematical formula that checks for any value between a set minimum and maximum number?[/quote:1nb03yxn]

I'm responding to this question in general, since it seems that the overlapping condition is not the only case you are looking to use. That would be a bit complicated and inefficient, as mentioned.

In case you don't know of this, and you just want to check if a variable is within a certain range, there are two easy ways to do that. The System conditions **Number is between...** and **Evaluate** can be used to do so:

+ System: Sprite.Angle is between 5 and 10

-> Do stuff...

+ System: Sprite.Angle >= 5 and Sprite.Angle <= 10

-> Do stuff...

Of course, you can use any variable for any of the numbers there, as well.