Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Str

Returns the current Strength stat of the character.

This is a shorthand property equivalent to GetStr.

Returns 0 if the character is not connected.

Возвращает текущее значение характеристики Strength (Сила) персонажа.

Это сокращённое свойство, эквивалентное GetStr.

Возвращает 0, если персонаж не подключён.

Pascal

function Str: Integer;

Python

def Str() -> int: ...

Pascal Example

begin
  AddToSystemJournal('STR: ' + IntToStr(Str));
  AddToSystemJournal('DEX: ' + IntToStr(Dex));
  AddToSystemJournal('INT: ' + IntToStr(Int));
end.

Python Example

AddToSystemJournal(f'STR: {Str()}')
AddToSystemJournal(f'DEX: {Dex()}')
AddToSystemJournal(f'INT: {Int()}')

See Also

Dex, Int, GetStr