|Description:||Returns movement speed, relative to another object.|
Depending on the syntax used, the speed is relative to either the surface / object the unit is currently moving on, or relative to a specific object. It also depends on the direction the unit is facing. While in vehicles, the speed of a queried unit is zero, so the vehicle itself has to be checked.
|Return Value:||Number - Speed, relative to currently used surface or object (in km/h).|
|Syntax:||vehicle relativeSpeed object|
|Return Value:||Number - Speed, relative to specified object (in km/h).|
Returns relative speed of 'heli1', relative to 'ship1':
|See also:||speed, velocity, fn vbs absSpeed|