Skip to content
#434
Auto-translated
KioM
antonag07, it's nonsense...

function MoveHeroRealTimeAndReachPoint( heroName, x, y, floor )
moveCost = CalcHeroMoveCost( heroName, x, y, GROUND );
ChangeHeroStat( heroName, STAT_MOVE_POINTS, moveCost );
sleep(1);
MoveHeroRealTime( heroName, x, y, GROUND );
end;
I made something similar, and the MoveHeroRealTime command doesn't work as it should... I did it using the good old MoveHero instead.


Why say it's nonsense right away?! It works there...

Statistics

Welcome our newest member: artem

Users Online 2 users 1452 guests