Dota 2 Workshop Tools/Scripting/API/Global.RandomInt: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
(Clarified that the range is inclusive.) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 9: | Line 9: | ||
''Get a random ''int'' within a range'' | ''Get a random ''int'' within a range'' | ||
Revision as of 02:11, 17 June 2015

Function Description
int RandomInt(int a, int b)
Get a random int within a range
Parameters
Type | Name | Description |
---|---|---|
int | a | No Description Set |
int | b | No Description Set |
Returns
int - No Description Set