VectorRand

From Garry's Mod
Revision as of 17:44, 2 July 2019 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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