VectorRand

From Garry's Mod
Revision as of 19:56, 5 June 2019 by Code gs (Talk | contribs)
Jump to: navigation, search
 VectorRand( )

Contents

Description

Returns a random vector whose components are each between min and max.

Arguments

number min=-1

Min bound inclusive.


Next Update Change

This feature is only available in the next update.

Arguments

number max=1

Max bound exclusive.


Next Update Change

This feature is only available in the next update.

Returns

Vector

The random direction vector.
Personal tools
Navigation