Dota 2 Workshop Tools/Scripting/API/Global.DoScriptAssert: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 6: | Line 6: | ||
''' void DoScriptAssert(bool '' | ''' void DoScriptAssert(bool ''bool_1'', string ''string_2'') ''' | ||
''ScriptAssert:Asserts the passed in value. Prints out a message and brings up the assert dialog.'' | ''ScriptAssert:Asserts the passed in value. Prints out a message and brings up the assert dialog.'' | ||
Line 19: | Line 19: | ||
|- | |- | ||
| bool | | bool | ||
| | | bool_1 | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| string | | string | ||
| | | string_2 | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 04:29, 19 June 2015

Function Description
void DoScriptAssert(bool bool_1, string string_2)
ScriptAssert:Asserts the passed in value. Prints out a message and brings up the assert dialog.
Parameters
Type | Name | Description |
---|---|---|
bool | bool_1 | No Description Set |
string | string_2 | No Description Set |