V3MultByScalar

From GECK
Jump to: navigation, search


A function added by the AnhNVSE Plugin.

Description

Returns the product of a Vector3 with a scalar.

Syntax

[help]
(vector3:array) V3MultByScalar v1:array scalar:float 

Example

array_var aVector1 = ar_list 1, 2, 3
float fScalar = 2

array_var aResult = V3MultByScalar v1, scalar        ; aResult = [2, 4, 6]

See Also