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

GetWalkUnmountTimer

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

This timer controls the interval between movement steps during walking without a mount. The value can be changed with SetWalkUnmountTimer.

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

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

Pascal

function GetWalkUnmountTimer: Word;

Python

def GetWalkUnmountTimer() -> int: ...

Pascal Example

begin
  AddToSystemJournal('Walk unmount timer: ' + IntToStr(GetWalkUnmountTimer) + ' ms');
  AddToSystemJournal('Run unmount timer: ' + IntToStr(GetRunUnmountTimer) + ' ms');
end.

Python Example

AddToSystemJournal(f'Walk unmount timer: {GetWalkUnmountTimer()} ms')
AddToSystemJournal(f'Run unmount timer: {GetRunUnmountTimer()} ms')

See Also

SetWalkUnmountTimer, GetRunUnmountTimer, GetWalkMountTimer, MoveXY