If/or help

Get help using Construct 2

Post » Thu Apr 11, 2013 1:08 am

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.
B
2
Posts: 7
Reputation: 264

Post » Thu Apr 11, 2013 1:12 am

Thought I had it figured out nvm.relec2013-04-11 01:17:10
B
2
Posts: 7
Reputation: 264

Post » Thu Apr 11, 2013 6:48 am

[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
B
24
S
8
G
7
Posts: 756
Reputation: 7,202


Return to How do I....?

Who is online

Users browsing this forum: BACLog, Kagubro and 18 guests