Not working
#4

Alright, let's just start with the 4 borders, which you only have 3 currently...

I see you have a starting X and also a ending X, but you only have 1 Y...
You need to have that 2nd Y Position...

+++++ <- Y Position
+ +
+ +
+++++ <- Y Postion ( You only have one Y Position when you should have 2! )

^ ^
| |

X X

P P
o o
s s

An example of what you need:
if ( X >= 500 && X<= 600 && Y >= 500 && Y <= 600 ) // Notice you have 4 borders here defining your area, you need to get the other Y Position for your code

The Z cord isnt important, you may remove it if you want
Reply


Messages In This Thread
Not working - by bartje01 - 22.03.2010, 23:17
Re: Not working - by XGh0stz - 23.03.2010, 04:26
Re: Not working - by bartje01 - 23.03.2010, 06:08
Re: Not working - by XGh0stz - 23.03.2010, 07:01
Re: Not working - by MadeMan - 23.03.2010, 09:50

Forum Jump:


Users browsing this thread: 4 Guest(s)