Quote:
Originally posted by Com013
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).
|
but that way you cant do something like
changeimgzoom and change the zoom of the map, and have the heads\pms change with it