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