
08-07-2002, 02:55 AM
|
|
Banned
|
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
|
|
Quote:
Originally posted by HoudiniMan
NPC Code:
if (playerx |x1,x2| && playery |y1,y2| ) {
setplayerprop #c,;
}
.... i think?
that would make a 10 square tile box with corners x1,y1 and x2,y2... i'm sure somebody in here will correct my syntax errors, i've never used "in"... the principle is the same though.
|
it would be |x+1,x+2| |
|
|
|