Arma 3 Scripting

BIS_fnc_vectorDivide

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Divides vector by scalar, by dividing all vector elements.

Note

vectorMultiply can be used instead as vector vectorMultiply 1/scale, but:

Syntax

[vector, divider] call BIS_fnc_vectorDivide

Parameters:

Returns: Array of Numbers

Examples

Example 1

[[123, 456, 789], 5] call BIS_fnc_vectorDivide;

Example 2

[[1, 2, 3, 4, 5, 6, 7, 8, 9], 5] call BIS_fnc_vectorDivide;

See also

vectorMultiply · BIS_fnc_vectorMultiply