Skip to content

EN Runtime API 39 Time and Waiting

Codex edited this page Oct 11, 2026 · 3 revisions

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

Runtime API - Time and wait

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

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

Magic

The command is used to add a recol charge to the standard Object runbook.

Scripts & Runtime

Passes the procedure name to the script manager to run. The procedure must be accessible to the client; existence can be verified by SubExists. Does not accept program body instead of name.

Client & Connection

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Returns a number of the form YYMMDD, where DD is the day, MM is the month, YY is the year (the next few years are only one digit out of two)

Client & Connection

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

In the loaded script file, runs the name function.

Client & Connection

Without an argument, returns the stored ServerPing from connection statistics. A form with a timeout initiates a ping test over the client connection and waits for a response until the specified time in milliseconds. Do not confuse with the separate function ICMP Ping an arbitrary node.

Movement

Returns the delay (in milliseconds) between steps when running while mounted (on a horse, etc.).

Movement

Returns the delay (in milliseconds) between steps when running on foot (without mount), used by the Move* and Step* functions.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Client UI

Without an argument, enables a crosshair to locally hide an item or character. Hide(serial) hides the specified loaded object on the client side. You can't hide yourself. The server object is not deleted, the Hiding skill is not applied; server updates may make the object visible again.

Journal

Returns the timestamp of the found log line via JournalTimestamp; if there is no string found - 0. This is not the length of the wait. The units correspond to the log timestamps of this runtime.

Client UI

Opens the C# editor. Without an argument, opens a regular editor window; with path - the specified file. The relative path is resolved from the Autoload directory, the absolute path is used directly.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Movement

Sets the ClassicUO player movement completion delay used when running while mounted. The value is propagated from C# runtime state into MovementSpeed.TimeToCompleteMovement; it is no longer a state-only compatibility variable.

Movement

Sets the ClassicUO player movement completion delay used when running on foot. The value is propagated from C# runtime state into MovementSpeed.TimeToCompleteMovement; it is no longer a state-only compatibility variable.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Operates on the active C#/ClassicUO runtime, network or profile state through the registered implementation route.

Scripts & Runtime

Returns 1 if manager C# finds a procedure with the given name, 0 otherwise. The presence of a procedure does not mean that it is already being performed.

Scripts & Runtime

Stops a procedure found by manager C# by name. If it is not there, it does nothing. The command does not shut down Windows or close the entire client.

Scripts & Runtime

Returns a number of the form HHMMSS, where SS is the second, MM is the minute, YY is the hour.

Scripts & Runtime

Returns the time since runtime in tenths of a second as int. The difference 10 corresponds to approximately one second. Differs from Timer() without UO., which returns seconds as double. The value is limited to the int range for very long periods of operation.

Client UI

Replaces the stored geometry/style/text for an existing figure and the next World Map render uses the updated values.

UO.Wait

Scripts & Runtime

Pauses script execution for the specified time.

Scripts & Runtime

Determines whether the crosshair trap of one of the UO.Wait* commands, such as WaitTargetObject, or such as Cast 'Flame' is set

Clone this wiki locally