Dota 2 Workshop Tools/Scripting/API/CDOTA SimpleObstruction.SetEnabled: 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 SetEnabled(bool ''enabled'', bool '' | ''' void SetEnabled(bool ''enabled'', bool ''bForce'') ''' | ||
''Enable or disable the obstruction'' | ''Enable or disable the obstruction'' | ||
| Line 23: | Line 23: | ||
|- | |- | ||
| bool | | bool | ||
| | | bForce | ||
| | | | ||
|} | |} | ||
Revision as of 12:36, 20 June 2015
Function Description
void SetEnabled(bool enabled, bool bForce)
Enable or disable the obstruction
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enabled | |
| bool | bForce |