Enjoy BYOND? Contribute today!
Apr 6 2012, 12:03 pm
can someone make me a sample code
for moving between areas you know like going to and from rooms and stuff
Apr 6 2012, 2:06 pm
You'll be wanting to look at the reference to figure this one out; I'd recommend taking a look at locate() and the x, y and z vars of a mob.
You can either have a tile manually set the XYZ of a mob which enters the tile, if you're moving them somewhere static, or use locate() to get the X/Y/Z of a target object and send the "user" there.
Apr 6 2012, 2:57 pm
Copyright © 2015 BYOND. All rights reserved.
Terms of Service