EN Runtime API 12 Movement Commands - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어

Runtime API — Movement commands

Home · C# · IDE · UO API · A–Z · Examples · Languages

Each team opens a card with C#-signatures, parameters and several independent examples.

UO.AddStep

Movement

UO.CancelMove

Movement

Disables allowing further movement by the script via MoveOff.

UO.FixWalk

Movement

Prints a notice that the legacy native client patch FixWalk is not required by ClassicUO.

UO.GetDirection

Movement

Reads the character direction from the client model.

UO.GetNextStepZ

World & Geometry

Calculates the estimated height of the next step in the specified direction.

UO.GetWalkMountTimer

Movement

Shows the configured interval of one step of horseback walking in milliseconds. Useful for checking the mode, estimating the timing and saving the setting before slowing down temporarily.

UO.GetWalkUnmountTimer

Movement

Shows the configured interval of one walking step in milliseconds. Useful for checking the mode, estimating the timing and saving the setting before slowing down temporarily.

UO.LastStepQUsedDoor

Movement

Reads or manually changes the door opening attempt flag of the last StepQ command.

UO.MassMove

Items

Enables a one-time mass transfer of items of the selected type. After Activate MassMove, drag one suitable item with the mouse: the source container is determined from it. Other items of this type from the same source follow automatically. The third parameter is TYPE/Graphic, not the item's ID. All forms include waiting for the first manual transfer; the explicit destination specifies where it will go.

UO.MassPriceMove

Shops & Vendors

Enables mass transfer of items of one TYPE with automatic pricing in your vendor's inventory. The source is determined by the first manual transfer. Each stack is transferred entirely and is considered one item; after his price request, the client responds and only then continues the queue.

UO.Move

Movement

Reads if there is an automatic route or character steps that have not yet been completed.

UO.moveBetweenTwoCorners

Movement

Diagonal resolution with two side squares blocked.

UO.MoveBoat

Boats

Requests the direction and speed of the boat.

UO.moveExitOnDisconnect

Movement

Stop/refuse movement when the connection is disconnected.

UO.moveHeuristicMult

Movement

Pathfinder heuristic multiplier as a percentage.

UO.MoveItem

Items

Transfers one specific item/stack via serial: capture and drop into a container or onto the ground.

UO.MoveItems

Items

Transfers all suitable items directly from one container to another or to the ground. Items are selected by graphic and hue; each stack is transferred entirely. This is carrying things, not character walking or interactive activation of MassMove.

UO.MoveOff

Movement

Disables compatible PMove key steps.

UO.MoveOn

Movement

Enables compatible PMove key steps.

UO.MoverStop

Movement

Stops Pathfinder's automatic route.

UO.moveTurnCost

Movement

Additional cost of changing direction when finding a path.

UO.MoveXY

Movement

Moves the character to X/Y with five required parameters and waits for the result.

UO.MoveXYZ

Movement

Moves the character to a point in the world with separate horizontal and vertical tolerances.

UO.PMove

Movement

Compatible move command to X/Y via separate key steps with a limit of 30 seconds.

UO.PredictedDirection

Movement

Reads the predicted direction side after the character's already queued steps.

UO.RemoveEarrings

Character

Requests removal of an item from the Ear layer.

UO.RemoveFigure

Client UI

Deletes a local map figure by its ID.

UO.RemoveFromParty

Party

Requests the removal of a group member via serial.

UO.RemoveHat

Character

Requests removal of an item from the Hat layer.

UO.RemoveNeckless

Character

Requests an item to be removed from the Neck layer.

UO.RemoveRing

Character

Requests removal of an item from the Ring layer.

UO.RemoveUserStatic

World & Geometry

Deletes the user static record at ID.

UO.Specmove

Combat

Sends one step request directly to the bridge.

UO.Step

Movement

Requests a single step/rotation and, if a step was sent, waits for server confirmation.

UO.StepQ

Movement

Requests one step through the queue; the additional form may wait for the queue to become free and to be confirmed.

UO.StopBoat

Boats

Requests the boat to stop moving.

UO.LimitMove — Movement distance limit. UO.LimitMove controls destination distance: default 2000, zero unlimited. There are no hidden 4096-step/node or 10000-node caps. Work is sliced and can be stopped. GetPathArray respects the numeric moveThroughNPC stamina threshold and moveOpenDoor.