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

GetScriptsCount

Returns the total number of active scripts for the current character.

In Python, this method is named GetScriptCount.

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

В Python метод называется GetScriptCount.

Pascal

function GetScriptsCount: Word;

Python

def GetScriptCount() -> int: ...

Pascal Example

begin
  AddToSystemJournal('Active scripts: ' + IntToStr(GetScriptsCount));
end.

Python Example

AddToSystemJournal(f'Active scripts: {GetScriptCount()}')

See Also

GetScriptsList, GetScriptName, GetScriptState