Dota 2 Workshop Tools/Scripting/API/Global.RandomVector: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
|- | |- | ||
| float | | float | ||
| | | maxLenght | ||
| | | Maximum lenght of random vector. | ||
|} | |} | ||
Revision as of 09:32, 12 August 2014

Function Description
Vector RandomVector(float a)
Get a random 2D vector. Argument (float) is the maximum length of the returned vector.
Parameters
Type | Name | Description |
---|---|---|
float | maxLenght | Maximum lenght of random vector. |
Returns
Vector - No Description Set