Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetHUDVisible: 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 SetHUDVisible(int '' | ''' void SetHUDVisible(int ''iHUDElement'', bool ''bVisible'') ''' | ||
'' | ''Set the HUD element visibility.'' | ||
| Line 14: | Line 14: | ||
;Example | ;Example | ||
<source lang="lua"> | <source lang="lua"> | ||
function CDOTABaseGameMode:SetHUDVisible( | function CDOTABaseGameMode:SetHUDVisible( iHUDElement, bVisible ) end | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
| Line 23: | Line 23: | ||
|- | |- | ||
| int | | int | ||
| | | iHUDElement | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | bVisible | ||
| No Description Set | | No Description Set | ||
|} | |} | ||
Revision as of 22:16, 18 June 2015
Function Description
void SetHUDVisible(int iHUDElement, bool bVisible)
Set the HUD element visibility.
- Example
function CDOTABaseGameMode:SetHUDVisible( iHUDElement, bVisible ) end
Parameters
| Type | Name | Description |
|---|---|---|
| int | iHUDElement | No Description Set |
| bool | bVisible | No Description Set |