This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

VectorMagnitude

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(magnitude:float) VectorMagnitude vector:array 
(magnitude:float) VecMag vector:array

Returns the magnitude of a vector (square-root of the sum of the squares of its elements).