SRL Archive - RS3 Help

Is it possible to load multiple SPS maps at once?


adc

2015-06-01 15:54:00

Or do I need to load them as I use them?

Citrus

2015-06-01 16:07:50


map1.setup('MAP1', RUNESCAPE_SURFACE);
map2.setup('MAP2', RUNESCAPE_SURFACE);
map3.setup('MAP3', RUNESCAPE_OTHER);

adc

2015-06-01 16:21:59

Do I then call it like this:

map1.walkPath(firstPath);
map2.walkPath(secondPath);

Citrus

2015-06-01 16:33:40

Yup. And don't forget to declare them as global variables.

var
map1, map2: TSPSArea;

adc

2015-06-01 16:36:52

Ah ok, that's what I was missing. Makes sense now.