VectorRand

From Garry's Mod
Jump to: navigation, search
 VectorRand( )

Contents

Description

Returns a random vector whose components are each between min(inclusive), max(exclusive).

Arguments

number min=-1

Min bound inclusive.

Arguments

number max=1

Max bound exclusive.

Returns

Vector

The random direction vector.
Personal tools
Navigation