/moveto¶
Syntax¶
/moveto [option]...
/moveto toggle <setting>
/moveto set <setting> {on|off}
Description¶
The moveto command will move you from your current location to a specific location or target. You can combine any number of these parameters together inline to enable multiple options for the moveto.
Options¶
| Option | Description |
|---|---|
help [settings] |
Displays generic help information, and help for the command used. The settings optional parameter displays help information for all plugin 'set' and 'toggle' commands. NOTE: this command won't show anything if verbosity is off. /stick set verbosity on to see help settings. |
debug |
Dumps the current values of all plugin variables to a debug INI file. |
status [all] |
ChatWnd output for the status of the issuing command. The all optional parameter displays status output for all aspects of the plugin. |
pause [lock] |
Pauses all aspects of the plugin. The lock optional parameter prevents plugin from automatically unpausing under any circumstance other than user issuing unpause. Note: This does not toggle. |
unpause |
Resumes all aspects of the plugin. Note: This does not toggle. |
save / load |
Saves or loads your current configuration settings using MQ2MoveUtils.ini. |
imsafe |
BreakOnSummon and BreakOnGM have built-in protection disabling the ability to re-issue commands when triggered. This prevents macros from continuing to issue commands in a possibly unsafe situation. The imsafe parameter allows command usage to resume. |
min |
Minimizes custom user window similar to /mqmin. |
clear |
Clears custom user window buffer similar to /mqclear. |
verbflags |
Outputs current verbosity flags setting (this one displays even if totalsilence is enabled). |
Tip
The following options are more specific to /moveto.
| Option | Description |
|---|---|
loc Y X [Z] |
Moves to the specified location. Z is optional. Must be the first parameter. |
yloc Y | xloc X |
Beeline to the Y or X supplied. Different from precisey/x in that this only considers a single axis. Must be the first parameter. |
id [#] |
Moves to the supplied spawn id, or your current target if no id is given. |
off |
Stop moving to the current target/location. |
loose |
Moveto using more human-like heading adjustments. |
truehead |
Moveto using actual keypress heading adjustments. |
(id | loc Y X [Z]) precisey | precisex |
Moves to loc stopping when within x or y arrival dist values instead of both. Works with either id or loc. |
uw | underwater |
Look angle up and down at destination. |
dist # |
Sets value for how close to actual location is considered arrival. Does not turn moveto on. Permanently changes the value in the .ini. |
[id spawnid | loc y x [z]] mdist # [id] |
Sets value for how close to actual location is considered arrival. Allowed inline BEFORE id or AFTER loc y x [z] or id [spawn id] parameter. Permanently changes the value in the .ini. |
Settings¶
Note
The following parameters may be used to change the plugin's configuration options, which are defined on the MQ2MoveUtils settings page. You'll need to read both pages for a full understanding of a parameter.
Parameters¶
Use any of the four primary commands (/stick, /moveto, /circle, or /makecamp). Even if the parameter you're changing only affects a single command, you can still change it with any of the four commands.
/<command> toggle <parameter>
/<command> set <parameter> [value]
| Parameter | Description |
|---|---|
| mpause | mousepause | Pause current command if [ keyboard | mouse ] movement. Resumes after a random amount of delay set with pausemindelay and pausemaxdelay below. Note: You may not have a pause and corresponding break on at the same time (e.g. no mpause and breakonkb at the same time). You may have opposing options different though (e.g. mousepause on and breakonkb on). |
| breakonkb | breakonmouse | Break current command if [ keyboard | mouse ] movement. ***Note: You may not have a pause and corresponding break on at the same time (e.g. no mpause and breakonkb at the same time). You may have opposing options different though (e.g. mousepause on and breakonkb on). |
| autosave | Automatically save settings to INI file when a toggle or set command is issued. |
| savebychar | Save [server.Yourcharacter] section of INI file for individual character settings. |
| feign | Enable Feign Death support, which waits for you to stand up manually before moving. |
| lockpause | Plugin will never automatically resume from pause until user issues an unpause. |
| autopause | Pause movement if casting spells (non-bard), stunned, rooted, sitting, FD, or self targeted (non-hold). |
| autopauseoutput | If enabled, will display ChatWnd output when autopause is halting movement. Note: This bypasses totalsilence and must be configured individually. |
| stucklogic | If enabled, stucklogic automatically attempts to get unstuck if running into walls and large objects. |
| trytojump | If enabled, stucklogic also tries to jump to help get unstuck. |
| turnhalf | If enabled, stucklogic will reset heading and turn the other direction if it has rotated halfway without success. |
| verbosity | ChatWnd output for basic command information messages. |
| fullverbosity | ChatWnd output for more detailed information messages and output for more actions. |
| totalsilence | Silences most ChatWnd output except for critical information or user-requested messages. |
| totalverbosity | Enable display of every ChatWnd message in the plugin. |
| hidehelp | If enabled, the help output will not be displayed upon command failure (e.g. invalid parameters). |
| window | If enabled, MoveUtils will output any messages to a user-placed custom UI window dedicated to the plugin. |
| wineq | By default, MoveUtils uses actual keypresses to control movement (regardless of heading settings). WinEQ2 has a bug where background sessions can have their alt keys and certain mouse buttons held down, causing movement to run in weird directions. For Lavishsoft users who have not switched over to Innerspace, enabling wineq setting will use old-style emulated movement via ExecuteCmd(). |
| breakontarget | Break from stick if target changes (default behavior is switch over to sticking to new target). |
| breakonsummon | Halts current command and disables ability to use any commands if summoned beyond summondist. Note: Once this fires, you must use the imsafe parameter to unlock the plugin. |
| breakongm | Halts current command and disables ability to use any commands if visible GM enters the zone. Note: Once this fires, you must use the imsafe parameter to unlock the plugin. |
| breakonwarp | Breaks from stick if target warps out of breakdist range (user set, see below). Note: This does not limit your initial stick range. You may /stick from across the zone. This only triggers if the target increases distance from you and is beyond breakdist. |
| pauseonwarp | Pauses stick if target warps out of breakdist range until they are back in range (user set, see below). Note: This does not limit your initial stick range. You may /stick from across the zone. This only triggers if the target increases distance from you and is beyond breakdist. |
| breakongate | Breaks from stick if "target Gates" message occurs. Note: if using stick id or stick hold, it will break based on the held target name. |
| breakonaggro | Breaks from moveto command if you are aggro to an NPC. Note: This checks the player window for the crossed swords indicator. |
| alwaysdrunk | Use drunken by default when circling. |
| alwaysbackwards | Run backwards by default when circling. |
| alwaysccw | Circle in a counter-clockwise direction by default. |
| nohottfront | Allow for stick front to spin to front of the mob without Health of Target's Target Leader AA. Note: By default stick front will not stay stuck to the front unless you are on the HoTT window. If you toggle this setting it will ignore that requirement, causing you to spin in circles if you lose aggro. It is recommended that you use DelayStrafe. |
| returnnoaggro | Makecamp will auto-return to camp only if not aggro (checks crossed swords indicator). |
| returnnotlooting | Makecamp will not auto-return to camp if character has an open loot corpse window. |
| returnhavetarget | Makecamp will auto-return to camp even if you have a target. Note: By default, makecamp does not auto-return if you have any target. |
| realtimeplayer | Makecamp player will get realtime updates on player location, allowing for dynamic returns to players. By default, makecamp player will return to a players last location when return begins and not get a new update until the return is complete. The default behavior is a sort of ghetto MQ2AdvPath whereas enabling realtimeplayer will work more like an autofollow. |
| leash | If enabled, leash prevents moving beyond leashlength (user set value). |
| usewalk | If enabled, plugin will switch to walking when closing in on moveto destination or camp return. |
| strafewalk | If enabled, plugin will switch to walking when within strafe range for all stick commands. |
| randomize | If enabled, stick behind and !front will use random arc values to position. |
| delaystrafe | If enabled, strafe-based movement (stick front, !front, behind, pin) will use a delay before moving. Note: This helps prevent endless circling when aggro is gained, or spinning when mobs quick-turn to cast spells. Circling is one of the biggest signs that a player is using MoveUtils so it is recommended you ALWAYS leave this enabled. |
| autoUW | If enabled, stick and moveto will use the uw parameter whenever underwater (look up and down at target). |
| usefleeing | If enabled, stick front will not attempt to position in the front of a target that is fleeing. |
| usescatter | If enabled, camp returns will use scattered return locations instead of default behavior. Note: Default behavior attempts to get back within camp radius. See scatter numerical settings for more information. |
The following option is unique:
| Setting | Description |
|---|---|
| set heading true | loose | fast | Changes plugin heading adjustments to use the specified type: true: actual keypressing (does not work with wineq=on). loose: simulated incremental turning. fast: instantly set heading. |
The following set commands require a numeric value, and once again, can be used from any of the four main plugin commands.
| Setting | Valid Input | Description |
|---|---|---|
| set pulsecheck # | 1 or higher | Number of pulses used to calculate average movement distance in stucklogic. |
| set pulseunstuck # | 1 or higher | Number of pulses successfully moved forward before considered unstuck. |
| set diststuck #.## | 0.01 or higher | Minimum distance needed to move or else considered stuck (compares against pulse average). |
| set campmindelay # | 125 or higher | Minimum delay before auto-returning to camp (in ms). |
| set campmaxdelay # | 125 more than campmindelay | Maximum delay before auto-returning to camp (in ms). |
| set pausemindelay # | 125 or higher | Minimum delay before resuming from mpause/mousepause (in ms). |
| set pausemaxdelay # | 125 more than pausemindelay | Maximum delay before resuming from mpause/mousepause (in ms). |
| set strafemindelay # | 125 or higher | Minimum delay before stick will strafe to move when delaystrafe is enabled (in ms). Note: higher values are better. default of 1500 (1.5s) is recommended. |
| set strafemaxdelay # | 125 higher than strafemindelay | Maximum delay before stick will strafe to move when delaystrafe is enabled (in ms). Note: higher values are better. default of 3000 (3s) is recommended. |
| set ydist #.## | 1.0 or higher | Acceptable distance to have "arrived" for precisey moveto. |
| set xdist #.## | 1.0 or higher | Acceptable distance to have "arrived" for precisex moveto. |
| set snapdist #.## | 1.0 or higher | Default distance to run past target before turning to snaproll. |
| set summondist #.## | 2.0 or higher | Distance character must be summoned in a single pulse for BreakOnSummon to fire. |
| set turnrate #.# | 1.0 to 100.0 | Rate at which loose heading turns. |
| set !frontarc #.# | 1.1 to 260.0 | Angular distance arc for stick !front. |
| set behindarc #.# | 1.1 to 260.0 | Angular distance arc for stick behind. |
| set breakdist #.## | 1.0 or higher | Distance to check for breakonwarp. |
| set campradius #.## | 5.0 or higher | Default camp radius and radius for active camp. |
| set circleradius #.## | 5.0 or higher | Default circle radius. |
| set leashlength #.# | greater or equal to camp radius | Default leash length and length for active leash. |
| set bearing #.# | any | Bearing (direction from center) used for scatter camp. |
| set scatsize #.## | 1.0 or higher | Radius size for scattering. |
| set scatdist #.## | 1.0 or higher | Distance from center of camp to scatter at. |
| set allowmove #.## | 10.1 or higher | Loose or True heading allow forward movement when reach this angular distance. This is "anti-orbit" code to stop circling near close-range destinations. |
| set font # | 1 to 10 | Custom user window font size. |
| set verbflags # | see verbosity section on mq2moveutils settings. | Current plugin verbosity flags. |
Tip
The following settings are specific to /moveto.
| Setting | Valid Input | Description |
|---|---|---|
| /moveto set backupdist #.## | 1.0 or higher | Range that moveto will walk backwards instead of turning to face destination, if useback enabled. |
| /moveto set dist #.## | 1.0 or higher | Acceptable distance to have "arrived" for standard moveto and camp returns. |
| /moveto [toggle | set] alwaysUW [on | off] | If enabled, moveto will always adjust looking angle as if uw parameter was typed inline. Note: this is not the same as autoUW, which only enables uw when actually underwater. |
|
| /moveto [toggle | set] breakonhit [on | off] | Breaks from moveto command if you are attacked by an NPC. Note: This parses chat for hits and misses. If you use the number only hitsmode then it will only parse for misses as parsing every line for only numbers is too high overhead. Consider switching to Normal or Abbreviated hitsmode. |
|
| /moveto [toggle | set] useback [on | off] | If enabled, moveto will walk backwards to position itself when close to a destination instead of turning to face it. Note: This requires loose or truehead style heading adjustments, and does not work with fast heading. This includes automatic and user-forced camp returns. |
|
| /moveto [toggle | set] loose | truehead [on | off] | Change the heading type for currently active moveto to this type of heading. If WinEQ is enabled, truehead will fail to switch. Once current command ends, heading type will return to previous. |
Examples¶
| Command | Description |
|---|---|
| /moveto loc 2816 -6 | Moves your character to loc 2816 -6. |
| /moveto id ${Target.ID} | Moves your character to Target. |
This command is added by MQ2MoveUtils.