# MQ2AdvPath

## Description

This plugin allows you to record and playback player movement.

## Commands

* /afollow \[on|off] \[nodoor|\*door]
* /afollow \[pause|unpause]
* /afollow spawn # \[nodoor|\*door]
* /afollow \[nodoor|\*door]
* /play \[PathName|off] \[reverse|\*normal] \[loop|\*noloop] \[smart] \[pause|\*unpause] \[nodoor|\*door]
* /record&#x20;
* /record save&#x20;
* /record checkpoint&#x20;

## TLOs

* ${AdvPath.Active} Plugin Loaded and ready
* ${AdvPath.State} // FollowState, 0 = off, 1 = Following, 2 = Playing, 3 = Recording
* ${AdvPath.Waypoints} // Total Number of Waypoints
* ${AdvPath.NextWaypoint} // Number of NextWaypoint
* ${AdvPath.Y\[Check Point Name OR Waypoint number]} LOC
* ${AdvPath.X\[Check Point Name OR Waypoint number]} LOC
* ${AdvPath.Z\[Check Point Name OR Waypoint number]} LOC
* ${AdvPath.Monitor} // Spawn your following
* ${AdvPath.Idle} // Idel time when following and not moving
* ${AdvPath.Length} // Estimated length off the follow path
* ${AdvPath.Following} // BOOL Following spawn ?
* ${AdvPath.Playing} // BOOL Playing ?
* ${AdvPath.Recording} // BOOL Recording?
* ${AdvPath.Status} // INT Status 0 = off , 1 = on , 2 = paused?
* ${AdvPath.Paused} // BOOL Paused?
* ${AdvPath.WaitingWarp} // BOOL Wating if warp take action ?

## See Also

* [Plugins](broken://pages/-Me4I94WGlOtA0pQ_0oB)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://macroquest.gitbook.io/macroquest/plugins/community-plugins/mq2advpath.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
