vectorMultiply: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.22|= Game version ________________...")
 
No edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[vectorAdd]], [[vectorDiff]], [[crossProduct]], [[dotProduct]], [[vectorCos]], [[vectorMagnitude]], [[vectorMagnitude]], [[vectorMagnitudeSqr]], [[vectorDistance]], [[vectorDistanceSqr]] |= See also


}}
}}

Revision as of 12:07, 31 May 2014

Hover & click on the images for description

Description

Description:
Multiplies 3D vector by a scalar.
Groups:
Uncategorised

Syntax

Syntax:
vectorMultiply [vector,scalar]
Parameters:
[vector,scalar]: Array
vector: Array
scalar: Number
Return Value:
Array

Examples

Example 1:
_newVector = vectorMultiply [[1,0,2],2]

Additional Information

See also:
vectorAddvectorDiffcrossProductdotProductvectorCosvectorMagnitudevectorMagnitudevectorMagnitudeSqrvectorDistancevectorDistanceSqr

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