I'm trying to create a hotkey where I can farsee a target and if it gives a mapper location it will GOTO that location (the clickable link). Any idea how to make this work?
Yeah that'd be nice if it was that easy. So currently if I use farsight on someone and they are nearby mapper echos a clickable location number that will cause mapper to speedwalk you to that location if you click it. What I want to do is automatically go there when I use farsight through a hotkey.
Edit: Example: You close your eyes momentarily and extend the range of your vision, seeking out the presence of Morthif.
You see that Morthif is at Rally point. (40513) (Targossas)
40513 in this case is clickable and will speedwalk me to location 40513 using mapper.
Yeah that'd be nice if it was that easy. So currently if I use farsight on someone and they are nearby mapper echos a clickable location number that will cause mapper to speedwalk you to that location if you click it. What I want to do is automatically go there when I use farsight through a hotkey.
Edit: Example: You close your eyes momentarily and extend the range of your vision, seeking out the presence of Morthif.
You see that Morthif is at Rally point. (40513) (Targossas)
40513 in this case is clickable and will speedwalk me to location 40513 using mapper.
It is actually that easy, you can farsee them and then type gotop person
Just an idea, since farsee in-area is the only way to see the room, is to have the map place a marker there the person is located. I can't remember if I stole this or made it.
if locate_rooms then if type(locate_rooms) == "table" then for a,b in pairs(locate_rooms) do unHighlightRoom(b.id) end end else locate_rooms = {} end
locate_rooms = find_target_rooms(matches[3]) -- color room #351 red to blue local r,g,b = unpack(color_table.red) local br,bg,bb = unpack(color_table.blue) for a, b in pairs(locate_rooms) do highlightRoom(b["id"] , 121, 142, 33, 33, 143, 121, 1, 255, 255) end
----------------------------- @DontarionDrakor for twitter boredom.
I use this by just tracking the last known location of my target using essentially every location ability/command in the game (including ES <arena>), and have an alias that just expands 'go' into 'expandAlias("gotop "..target)
Works like a charm.
Some other people have "chase" scripts that do this, but I find that far too risky for my blood.
Not sure if this has been mentioned before, but I was a bit surprised when I noticed farsee not having the correct area if there are different rooms with the same name, but in different areas, being as the area is in gmcp and you know its the same area you're in if you're getting a room name from farsee.
Aurora says, "Tharvis, why are you always breaking things?!" Artemis says, "You are so high maintenance, Tharvis, gosh." Tecton says, "It's still your fault, Tharvis."
Comments
Edit:
Example: You close your eyes momentarily and extend the range of your vision, seeking out the presence of Morthif.
40513 in this case is clickable and will speedwalk me to location 40513 using mapper.
You can just have the key enable the trigger and then use a tempTimer to turn it off again.
Key script:
Trigger line: ^You see that \w+ is at (.+)\.$
Trigger script:
Svof
Mudlet Discord join up
And the following in the main window:
@DontarionDrakor for twitter boredom.
I use this by just tracking the last known location of my target using essentially every location ability/command in the game (including ES <arena>), and have an alias that just expands 'go' into 'expandAlias("gotop "..target)
Works like a charm.
Some other people have "chase" scripts that do this, but I find that far too risky for my blood.
Svof
Mudlet Discord join up
Artemis says, "You are so high maintenance, Tharvis, gosh."
Tecton says, "It's still your fault, Tharvis."