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 (June '24) |
Featured Mods (random) |
Visible Damage V2 |
Northwind Equipment Pack for 1.0 |
Quality Mods (random) |
The Network |
F.F.A.S. (Friendly Fire Avoidance System) for Autons |
Balanced Mods (random) |
F.F.A.S. (Friendly Fire Avoidance System) for Autons |
omigm-classs freighter |