Object Move Speed & Timer Interval - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Object Move Speed & Timer Interval (
/showthread.php?tid=274431)
Object Move Speed & Timer Interval -
iPLEOMAX - 05.08.2011
Hi guys, I'm stuck in the middle of making an object tool.
Imagine I have 2 objects:
A &
B
I used MoveObject on
A to move from
X1 Y1 to
X2 Y2 with a speed of 20.
And I used SetTimerEx on
B to change postion from
X1 Y1 to
X2 Y2 with x interval...
How do i calculate 'x' for the value which will be make the object move at equal speed of object A?
I hope you get my question.
If you don't understand that question, try answering this:
What is the Unit of MoveObject Velocity?
Is it San Andreas Map Unit per second?