SRL Archive - OSR Help

Teleporting


Joe

2012-04-06 12:51:20

I'm thinking about making a teleporting procedure that would use the Home teleporting options. Would it work better with color? Or should I just use coords? Any and all help would be appreciated.

Olly

2012-04-06 13:29:41

So it will use the lodestones? if so SRL already has a function built in once you've clicked home teleport just use this.

Lodestoneteleport('Lumbridge');

Abu

2012-04-06 13:33:50

If you're on about clicking the actual home teleport spells then just make a box around the spell and use MouseOval to click it.

nickrules

2012-04-06 14:01:36

The mos you would need to/could do is check if the player has that teleport available, which can be done with a DTM. I'd just use mouseboxes though.

Joe

2012-04-06 14:17:01

From: Ollybest
So it will use the lodestones? if so SRL already has a function built in once you've clicked home teleport just use this.

Lodestoneteleport('Lumbridge');


I thought I was onto something big… I had dtms figured out and everything and all i needed was THAT? well thanks anyways, Ill tell you if it works.

EDIT: Would finding the lodestone using a DTM be a good failsafe, and if the DTM wasn't found then repeat the teleport be even better?