Functions Documentation | |
Name | sysCalcTravelTime |
Syntax | (sysCalcTravelTime distance speed) -> time in ticks |
Argument List | distance: the distance the to cover speed: the speed to travel with |
Returns | number: time in ticks |
Category | system |
Description | Used to get travel times in code. It calculates how long time it will take to travel the given distance at the given speed |
Example |
taken from chrRaidTransport
; Figure out how many ticks it will take for the transport to ; travel the distance (setq travelTime (sysCalcTravelTime (objGetDistance originObj destObj) (shpGetMaxSpeed transportObj))) |
Comment |
Mod of the Month (March '25) |
Featured Mods (random) |
ODM Civilian Crafts |
Cheat Codes V.85 |
Quality Mods (random) |
Asteroid Scanner |
TX2 Centauri Module |
Balanced Mods (random) |
Osaka Class Transport [In honor of Frontier 0.5] 1.1e |
Brigand Playership |