BIS_fnc_vectorMultiply

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Multiplies 3D vector by a scalar.
Arma 3 logo black.png
Use vectorMultiply instead.

Syntax

Syntax:
[vector, factor] call BIS_fnc_vectorMultiply
Parameters:
vector: Array of Numbers - to format [x,y,z]
factor: Number
Return Value:
Array of Numbers - result vector

Examples

Example 1:
_newVector = [[1,2,3], 3] call BIS_fnc_vectorMultiply; // returns [3,6,9]

Additional Information

Execution:
call
Multiplayer:
-
See also:
vectorMultiply

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