Quote:
Originally posted by Warcaptain
i think a good command would be
showmap index,x,y;
to show the map that is selected for the player at a certain x,y
that way you can remove the aspect of pressing m to view the map, or maybe make a special looking map, or an item that opens your map.. i dunno.
|
Normally you know which maps there are on your world.
So you could just do
NPC Code:
if (onmapx(level13.graal) >= 0) showimg 200,map.png,...
else if (onmapx(tyhmmoon_a-1.graal) >= 0) showimg 200,moonmap.png,...
(onmapx returns on which x-position a level is on the map. It is -1 when the level isn't on the current map).