BIS_fnc_vectorAdd

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Returns the sum of two vectors.
Arma 3 logo black.png
Use vectorAdd instead.

Syntax

Syntax:
[vector1, vector2] call BIS_fnc_vectorAdd
Parameters:
vector1: Array of Numbers
vector2: Array of Numbers
Return Value:
Array of Numbers - result vector

Examples

Example 1:
[[1,1,1], [2,5,3]] call BIS_fnc_vectorAdd; // returns [3,6,4]

Additional Information

Execution:
call
See also:
vectorAdd

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section