vectorMultiply: Difference between revisions
| Killzone Kid (talk | contribs)  (seealso) | Killzone Kid (talk | contribs)   (syntax change) | ||
| Line 11: | Line 11: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | '''vectorMultiply'''  | | vector '''vectorMultiply''' scalar |= Syntax | ||
| |p1=  | |p1= vector: [[Array]] |= Parameter 1 | ||
| |p2 | |p2= scalar: [[Number]] |= Parameter 2 | ||
| | [[Array]] |= Return value | | [[Array]] |= Return value | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |x1= <code>_newVector =  | |x1= <code>_newVector = [1,2,3] [[vectorMultiply]] 3; //[3,6,9]</code> |= Example 1 | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:20, 10 June 2014
Description
- Description:
- Multiplies 3D vector by a scalar.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- _newVector = [1,2,3] vectorMultiply 3; //[3,6,9]
Additional Information
- See also:
- vectorAddvectorDiffvectorCrossProductvectorDotProductvectorCosvectorMagnitudevectorMagnitudeSqrvectorDistancevectorDistanceSqrvectorDirvectorUpsetVectorDirsetVectorUpsetVectorDirAndUp
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
 
	