• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
Resource icon

Macro - navto.inc (1 Viewer) 1907b

Joined
May 17, 2015
RedCents
5,824¢
LamahHerder submitted a new resource:

navto.inc - ease MQ2Nav use in macro's

navto.inc ease MQ2Nav use in macro's

/call navToID ${Spawn[pc LamahHerder].ID}
Wait while /nav to Spawn ID, target it when LOS and target-able

/call navToYX 6 9
Wait while /nav to YX loc

/call navToYXZ 6 9 2
Wait while /nav to YXZ loc

/call navToDoorID 69
Wait while /nav to door/switch and click it

/call navToPortalID 69
Wait while /nav to a portal and wait till you are transported

/locq
Bind that...

Read more about this resource...
 
Issue/bug/feature discovered whereby navto.inc will interrupt macro function:

When using the navToPortalID sub, and subsequently having an event in an after zoning scenario, I found that this sub would hang my macro and prevent it from triggering actions in the event. I rewrote the sub like below so that it still functions, but does not interrupt the event sub. I also chose to move the doortarget before the nav command, as it made no logical sense to target it after you've naved to it, though it has no meaningful impact on operation. What I did remove was the delay while not moving, and changed the distance check to delay while your distance from target was less than 60 to instead be while greater than 25 (the distance from the door you activate the portal). I believe it was getting into a logic loop fail with the less than 60 check.

INI:
Sub navToPortalID(int iPortalID)
    DODBG navToPortalID doorID = ${iPortalID}
    /doortarget id ${iPortalID}
    /nav door id ${iPortalID} click
    /while ( ${Switch.Distance}>25 || ${Navigation.Active} || ${Me.Moving} ) {
        /delay 5
    }
/return
 
Macro - navto.inc

Users who are viewing this thread

Back
Top