Skip to content

EN Runtime API 03 Distance and Direction

Codex edited this page Oct 11, 2026 · 2 revisions

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

Runtime API — Distance and direction

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

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

Movement

Calculates the direction for a step from point (Xfrom, Yfrom) to point (Xto, Yto).

Search

Sets the horizontal search radius (in tiles) for searching on the ground using the FindType , FindTypeEx , FindTypesArrayEx and related methods.

World & Geometry

Calculates tile distance. The 4-coordinate overload consumes both coordinate pairs; object forms resolve the object from the currently loaded world.

Clone this wiki locally