Dota 2 Workshop Tools/Scripting/API/Global.RandomInt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' int RandomInt(int ''a'', int ''b'') '''
''' int RandomInt(int ''int_1'', int ''int_2'') '''


''Get a random ''int'' within a range''
''Get a random ''int'' within a range''
Line 19: Line 19:
|-
|-
| int
| int
| a
| int_1
| No Description Set
| No Description Set
|-
|-
| int
| int
| b
| int_2
| No Description Set
| No Description Set
|}
|}

Revision as of 07:30, 19 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

int RandomInt(int int_1, int int_2)

Get a random int within a range


Parameters

Type Name Description
int int_1 No Description Set
int int_2 No Description Set

Returns

int - No Description Set