Unit travel time formula

Status
Not open for further replies.
Level 13
Joined
Mar 29, 2012
Messages
542
What is the formula to get the duration a unit need to travel to a point?

Example:
- Blood Mage has 200 movement speed point (from Object Editor).
- The distance of the path going to the target point is 1500.

Travel duration = ??

Additional Question
If the Blood Mage for example travel the path for 10 seconds, how do I calculate the travel duration of another unit that has 150 movement speed without using the path distance inside the calculation?
Pretending I have only the travel duration and the movement speed of Blood Mage.
 
Travel duration = ??
Same as they teach one at highschool in physics?

Speed - Wikipedia

So estimated travel time for the Blood Mage would be.
1500 / 200 = 7.5 seconds

It is important to be aware this is an estimate. The Blood Mage might not be moving at all times or the path might be longer due to how the path finder operates.
 
Status
Not open for further replies.
Back
Top