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

Int

Returns the character’s current Intelligence stat value.

Returns 0 if the character is not connected.

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

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

Pascal

function Int: Integer;

Python

def Int() -> int: ...

Pascal Example

begin
  AddToSystemJournal('Stats: Str=' + IntToStr(Str) +
    ' Dex=' + IntToStr(Dex) +
    ' Int=' + IntToStr(Int));
end.

Python Example

AddToSystemJournal(f'Stats: Str={Str()} Dex={Dex()} Int={Int()}')

See Also

Str, Dex, GetInt