Difference between revisions of "Dota 2 Workshop Tools/Scripting/API/Global.RollPercentage"

From Valve Developer Community
Jump to: navigation, search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
 
Line 6: Line 6:
  
  
''' bool RollPercentage(int ''a'') '''
+
''' bool RollPercentage(int ''int_1'') '''
  
 
''Rolls a number from 1 to 100 and returns true if the roll is less than or equal to the number specified''
 
''Rolls a number from 1 to 100 and returns true if the roll is less than or equal to the number specified''
Line 19: Line 19:
 
|-
 
|-
 
| int
 
| int
| a
+
| int_1
 
| No Description Set
 
| No Description Set
 
|}
 
|}

Latest revision as of 14:30, 19 June 2015

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

Function Description

bool RollPercentage(int int_1)

Rolls a number from 1 to 100 and returns true if the roll is less than or equal to the number specified


Parameters

Type Name Description
int int_1 No Description Set

Returns

bool - No Description Set