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