BIS fnc vectorDiff: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>")
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_vectorDiff = <nowiki>[</nowiki>[1,2,3], [5,6,7]] [[call]] [[BIS_fnc_vectorDiff]];</code> |Example 1=
|x1= <code>_vectorDiff = [<nowiki/>[1,2,3], [5,6,7]] [[call]] [[BIS_fnc_vectorDiff]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 10:55, 19 March 2020

Hover & click on the images for description

Description

Description:
Returns a vector that is the difference between two vectors.
Arma 3
Use vectorDiff instead.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[vector1, vector2] call BIS_fnc_vectorDiff
Parameters:
vector1: Array
vector2: Array
Return Value:
Array - vector difference

Examples

Example 1:
_vectorDiff = [[1,2,3], [5,6,7]] call BIS_fnc_vectorDiff;

Additional Information

See also:
vectorDiff

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section