Thread: Set Effect
View Single Post
  #23  
Old 12-08-2009, 09:09 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Try putting parenthesis' around

player.x+1.5 and player.y+2

like so:

if ((player.x+1.5) in |17, 25| && (player.y+2) in |13, 37|)

Nvm, that's not the issue but for clarity purposes I would.

Is this script on a gmap? because if it is you start dealing with coordinates in the 100s in some cases, a way to get around this would be to use relative coordinates like: this.x, this.x + 10, etc.
__________________
Quote:
Reply With Quote