mob/verb
Open()
if(usr.x==5)
if(usr.y==18)
if(usr.z==1)
usr<<"You may enter the first door."
usr.x=30
usr.y=30
usr.z=2
Problem description:
Hi, I'm trying to understand that when I do this, for some reason the Open() verb will only work in a (5.5,18,1) to (6.5,19,1) square rather than a (5,18,1) to (6,19,1). Is there something that I'm doing wrong?
I'm not sure what you mean about the fractional x and y coordinates, though. If this is a situation where pixel movement is involved, remember that the coordinates are based on southwest corner of the icon.