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 (April '24) |
Featured Mods (random) |
Osaka Class Transport [In honor of Frontier 0.5] 1.1e |
ODM Civilian Crafts |
Quality Mods (random) |
Raptor: Call of the Shadows |
Weapons Icons/ The more Dakka mod |
Balanced Mods (random) |
Dealer Stations |
F.F.A.S. (Friendly Fire Avoidance System) for Autons |