Docs · walking

walking

5 walking commands, generated from the engine's own registry — signatures, parameters and a worked example each. A does something command acts on the game; a needs x() one answers a confident wrong answer when its client hooks are missing.

minimapAvailable returns bool
minimapAvailable() -> bool

Whether the camera hooks the minimap projection needs are published. False means walkMap can never work, and walkTo can only reach tiles that are on screen.

Example
if not minimapAvailable() { stop }
minimapOpen returns bool
minimapOpen() -> bool

Whether the minimap is the tab currently showing.

Example
if not minimapOpen() { walkMap(tile(285, 570)) }
walkMap does something needs minimapAvailable() returns bool
walkMap(destination: tile) -> bool

Walks by clicking the minimap, opening that tab first if it is shut. Reaches through walls and behind the camera, which clicking the ground cannot, but only about sixteen tiles - the face is small and draws about four and a half pixels to the tile. Lands you near rather than exactly there. Refuses rather than clamping when the tile is too far away to appear on the face, so a longer journey has to be walked in legs.

ParameterTypeWhat it does
destinationrequired tile where to walk
Example
walkMap(tile(285, 570))
walkScreen does something returns bool
walkScreen(destination: tile) -> bool

Walks by right-clicking the ground and picking "Walk here". Exact, but refuses when the tile is not on screen. Right-click rather than left, because a left click on a tile with something standing on it takes that thing's top option instead of walking.

ParameterTypeWhat it does
destinationrequired tile where to walk
Example
walkScreen(tile(303, 553))
walkTo does something returns bool
walkTo(destination: tile) -> bool

Walks towards a tile, clicking the ground when it is drawn and the minimap when it is not. Returns as soon as the click is sent, not when you arrive.

ParameterTypeWhat it does
destinationrequired tile where to walk
Example
walkTo(tile(303, 553))