BIS_fnc_vectorAdd

From Bohemia Interactive Community
Revision as of 14:46, 4 June 2018 by Lou Montana (talk | contribs) (Page filling)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. Use the Talk page or the Forums for discussions.

Notes

Bottom Section