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 4: | Line 4: | ||
''' void DoScriptAssert(bool '''', string '''') ''' | ''' void DoScriptAssert(bool ''a'', string ''b'') ''' | ||
''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 17: | Line 17: | ||
|- | |- | ||
| bool | | bool | ||
| | | a | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| string | | string | ||
| | | b | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 00:07, 9 August 2014

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