{"name":"BIS_fnc_vectorMultiply","operator":null,"title":"BIS fnc vectorMultiply","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_vectorMultiply","revid":327959,"updated":"2022-07-13T13:15:38Z","groups":["Vectors"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Multiplies 3D vector by a scalar. \n\n> [!NOTE]\n> **Arma 3:** Use vectorMultiply instead.","syntaxes":[{"syntax":"[vector, factor] call BIS_fnc_vectorMultiply","since":null,"effect":null,"exec":null,"params":[{"name":"vector","type":"Array of Numbers","optional":false,"default":null,"description":"to format [x,y,z]","types":["Array","Number"],"since":null,"text":"vector: Array of Numbers - to format [x,y,z]"},{"name":"factor","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"factor: Number"}],"returns":{"type":"Array of Numbers","types":["Array","Number"],"description":"result vector","text":"Array of Numbers - result vector"}}],"examples":[{"text":"```sqf\nprivate _newVector = [[1,2,3], 3] call BIS_fnc_vectorMultiply; // returns [3,6,9]\n```","code":["private _newVector = [[1,2,3], 3] call BIS_fnc_vectorMultiply; // returns [3,6,9]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["vectorMultiply","BIS_fnc_vectorDivide"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Vectors","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}