Arma 3 Scripting

BIS_fnc_magnitude

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

Description

Returns the magnitude of an array of numbers. The vector can have any number of elements.

Note

Arma 3: Use vectorMagnitude instead

Syntax

vector call BIS_fnc_magnitude

Parameters:

Returns: Array - new vector

Examples

Example 1

[5,3] call BIS_fnc_magnitude;

See also

BIS_fnc_crossProduct · BIS_fnc_magnitudeSqr · BIS_fnc_vectorFromXToY