Wirlun2011-06-26 15:26:29
mmp.getPath(x,y):
If I type 'lua display(mmp.getPath("6219","6380"))' it displays 'true'. Does it put the calculated path in an accessible table? I'd like to see something like 'e','se','s','se' or whatever it is, if possible.
If I type 'lua display(mmp.getPath("6219","6380"))' it displays 'true'. Does it put the calculated path in an accessible table? I'd like to see something like 'e','se','s','se' or whatever it is, if possible.
Vadi2011-06-26 17:21:00
It stores directions in the global speedWalkDir table (and the room IDs you'll be visiting in the speedWalkPath one). See http://wiki.mudlet.org/w/Mapping_script
Wirlun2011-06-27 06:02:52
Perfect, thank you. The mapper is great!