How would you make a place, say, 10x10 to 20x20 be like the edge of the map? I don't mean be the real edge, but have the affect to where it doesn't scroll anymore.
I know there's a way to do this, but, meh...
ID:269035
![]() Jan 28 2005, 11:49 am
|
|
It's actually a pretty recent addition, so you may not have been around when it was introduced, I don't know. *shrug*
|
I think I remember a discussion of it, but I think I just shrugged it off. I think it came with 340, right? When EDGE_PERSPECTIVE came in...
|
area/house
var/x1,x2,y1,y2
x1=???
x2=???
y1=???
y2=???
Entered(mob/M)
if(ismob(M) && M.client)
M.client.edge_limit = "[x1],[y1] to [x2],[y2]"
Exited(mob/M)
if(ismob(M) && M.client)
M.client.edge_limit = null