21.04.2009, 14:23
Hey Ladies and Gentlemen,
i just want to get an answer to an easy question,because my head burns of getting an answer.
I think,sometimes you cant get it on by yourself...
So, i want to check if a players is NOT in an area, i tried following:
(X = PlayerPosition -> X)
(Y = PlayerPosition -> Y)
(oldxabove = Top right Corner of the area) not sure
(oldyabove = Down left corner of the area) not sure
I think my failure is in...
*.the if condition
Hope on your answer,
Trooper
P.S.: Would be even nice to see how you wold detect people leaving an area...
i just want to get an answer to an easy question,because my head burns of getting an answer.
I think,sometimes you cant get it on by yourself...
So, i want to check if a players is NOT in an area, i tried following:
Код:
if(X >= oldxabove && Y <= oldy || Y >= oldyabove && X <= oldx )
(Y = PlayerPosition -> Y)
(oldxabove = Top right Corner of the area) not sure
(oldyabove = Down left corner of the area) not sure
I think my failure is in...
*.the if condition
Hope on your answer,
Trooper
P.S.: Would be even nice to see how you wold detect people leaving an area...