PredictedZ
Returns the predicted Z coordinate (height) of the character based on the current movement trajectory.
Возвращает предсказанную координату Z (высоту) персонажа на основе текущей траектории движения.
function PredictedZ: ShortInt;
def PredictedZ() -> int: ...
begin
AddToSystemJournal('Current Z: ' + IntToStr(GetZ(Self)) +
', Predicted Z: ' + IntToStr(PredictedZ));
end.
AddToSystemJournal(f'Current Z: {GetZ(Self())}, Predicted Z: {PredictedZ()}')