Page 1 of 1

If/or help

PostPosted: Thu Apr 11, 2013 1:08 am
by relec
I have searched for a while and been doing trial an error for a while and cant seem to figure out how to do this seemingly simple task.

The logic is:
On collision if velocityY > 100 OR velocityX > 100 than do this: blah blah

I cant seem to get the "or" setup and working.

I am using system compare value, maybe this is wrong? Any help would be appreciated.

Re: If/or help

PostPosted: Thu Apr 11, 2013 1:12 am
by relec
Thought I had it figured out nvm.relec2013-04-11 01:17:10

Re: If/or help

PostPosted: Thu Apr 11, 2013 6:48 am
by vee41
[QUOTE=relec]
The logic is:
On collision if velocityY > 100 OR velocityX > 100 than do this: blah blah
[/QUOTE]

What you are probably looking for is:

On collision
.. if velocityY > 100
OR if velocityX > 100
... do stuff