Skip to content

ZH TW Runtime API 03 Distance and Direction

Codex edited this page Oct 11, 2026 · 2 revisions

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

運行時 API — 距離與方向

家 · C# · IDE · UO API · A–Z · 範例 · Languages

每個團隊打開一張帶有C#簽名、參數和幾個獨立範例的卡片。

運動

計算從點 (Xfrom, Yfrom) 到點 (Xto, Yto) 的步長方向。

搜尋

設定使用 FindType 、 FindTypeEx 、 FindTypesArrayEx 及相關方法在地面上搜尋的水平搜尋半徑(以圖塊為單位)。

世界與幾何

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