Discuss this page on this page's Talk Page

sysVectorSpeed

See sysVectorSpeed at Xelerus

Syntax (sysVectorSpeed velVector)
Arguments velVector: a velocity vector
Returns number - an integer representing a speed (in % of c)
Category system, vector operator
Description A very useful function to transform messy velVectors into human readable speeds.

Example

(sysVectorSpeed (objGetVel gPlayerShip))

Returns the speed the playership is travelling at (in % of c) Another useful wrapper function when dealing with velVectors.

Return to Functions list