BIS_fnc_vectorAdd

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

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
Multiplayer:
-
See also:
vectorAdd

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section