EN Runtime API 03 Distance and Direction - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

Українська · Русский · 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.

UO.CalcDir

Movement

Calculates the direction from one world point to another. The character does not move.

UO.FindDistance

Search

Reads or modifies the default horizontal search radius.

UO.GetDistance

World & Geometry

Measures the distance in cells based on the maximum X/Y differences. This is geometric estimation without pathfinding.