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

GetWalkMountTimer

Returns the current walk delay (in milliseconds) used when the character is mounted and walking.

This timer controls the interval between movement steps during walking while on a mount. The value can be changed with SetWalkMountTimer.

Возвращает текущую задержку ходьбы (в миллисекундах), используемую, когда персонаж верхом и идёт шагом.

Этот таймер управляет интервалом между шагами при ходьбе верхом. Значение можно изменить с помощью SetWalkMountTimer.

Pascal

function GetWalkMountTimer: Word;

Python

def GetWalkMountTimer() -> int: ...

Pascal Example

begin
  AddToSystemJournal('Walk mount timer: ' + IntToStr(GetWalkMountTimer) + ' ms');
  AddToSystemJournal('Run mount timer: ' + IntToStr(GetRunMountTimer) + ' ms');
end.

Python Example

AddToSystemJournal(f'Walk mount timer: {GetWalkMountTimer()} ms')
AddToSystemJournal(f'Run mount timer: {GetRunMountTimer()} ms')

See Also

SetWalkMountTimer, GetRunMountTimer, GetWalkUnmountTimer, MoveXY