Blockland Forums > Modification Help
ETA
ThinkInvisible:
Have a flight GUI working with compass mod; it can show you the position to and distance from a tracked waypoint (red dot).
How do I calculate ETA based on the total speed and distance?
Kalphiter:
distance / speed
Treynolds416:
--- Quote from: ThinkInvisible on June 10, 2012, 11:36:32 AM ---Have a flight GUI working with compass mod; it can show you the position to and distance from a tracked waypoint (red dot).
How do I calculate ETA based on the total speed and distance?
--- End quote ---
D = rt
Distance = rate * time
T = d/r
So:
--- Code: ---function getETA(%dist,%speed)
{
return %dist / %speed;
}
--- End code ---
ThinkInvisible:
tried it already, it's definitely not in seconds
Kalphiter:
We have know idea where you're getting speed from.