EN Runtime API 38 Character Stats - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

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

Runtime API - Character Stats

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

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

UO.Armor

Character

Reads the current character's resistance field: physical armor/resistance.

UO.CharPrint

Client UI

Creates an inscription visible only to you above the loaded object: for example, a mark of the selected target or a warning above your character. This is not the character's speech or the message at the bottom of the game window.

UO.ClientMarkChar

Client UI

Updates client labels LastTarget and/or LastAttack.

UO.Dex

Character

Reads the character's current Dexterity, DEX.

UO.Dexterity

Character

Reads the character's current Dexterity, DEX.

UO.GetArmor

Character

Reads the current character's resistance field: physical armor/resistance.

UO.GetARStatus

Character

Reads the flag for automatic reconnection of the current manager session or global client.

UO.GetCharsListForShard

Client & Connection

Returns the character names of the current shard known to the client.

UO.GetDexterity

Character

Reads the character's current Dexterity, DEX.

UO.GetHP

Character

Reads the current health from the local model.

UO.GetIntelligence

Character

Reads the character's current Intelligence (INT).

UO.GetLife

Character

Reads the current health from the local model.

UO.GetLuck

Character

Reads your character's status counter: luck points.

UO.GetMana

Character

Reads the current mana from the local model.

UO.GetMaxHP

Character

Reads maximum health from the local model.

UO.GetMaxLife

Character

Reads maximum health from the local model.

UO.GetMaxMana

Character

Reads maximum mana from the local model.

UO.GetMaxStam

Character

Reads the maximum endurance from the local model.

UO.GetMaxStamina

Character

Reads the maximum endurance from the local model.

UO.GetMaxWeight

Character

Reads your character's status counter: maximum weight in stones.

UO.GetPauseScriptOnDisconnectStatus

Scripts & Runtime

Reads the script pause setting when the manager is disabled.

UO.GetStam

Character

Reads the current stamina from the local model.

UO.GetStamina

Character

Reads the current stamina from the local model.

UO.GetStatus

Character

Sends a server request for the status of the specified mobile.

UO.GetStrength

Character

Reads the current power (Strength, Str) of the character.

UO.GetWeight

Character

Reads your character's status counter: current weight in stones.

UO.HP

Character

Reads the current health from the local model.

UO.Intelligence

Character

Reads the character's current Intelligence (INT).

UO.IsNpc

Characters and creatures

UO.LastStatusX

Character

Returns the stored X coordinate of the last accepted status object.

UO.LastStatusY

Character

Returns the stored Y coordinate of the last accepted status object.

UO.Life

Character

Reads the current health from the local model.

UO.Luck

Character

Reads your character's status counter: luck points.

UO.Mana

Character

Reads the current mana from the local model.

UO.MaxHP

Character

Reads maximum health from the local model.

UO.MaxLife

Character

Reads maximum health from the local model.

UO.MaxMana

Character

Reads maximum mana from the local model.

UO.MaxStam

Character

Reads the maximum endurance from the local model.

UO.MaxStamina

Character

Reads the maximum endurance from the local model.

UO.MaxWeight

Character

Reads your character's status counter: maximum weight in stones.

UO.SetARStatus

Character

Enables or disables automatic reconnection.

UO.SetPauseScriptOnDisconnectStatus

Scripts & Runtime

Changes the rule for scripts to pause when the connection is lost.

UO.Stam

Character

Reads the current stamina from the local model.

UO.Stamina

Character

Reads the current stamina from the local model.

UO.Strength

Character

Reads the current power (Strength, Str) of the character.

UO.Weight

Character

Reads your character's status counter: current weight in stones.