SetWaveButtonVisible (Harvest)
From OxeyeWiki
(Difference between revisions)
(Created page with '{{HarvestMethod | setWaveButtonVisible(button, toggle) | Sets whether a certain wave button should be visible or not. By default, all 10 buttons are visible when the wave list is...') |
|||
Line 5: | Line 5: | ||
Sets whether a certain wave button should be visible or not. By default, all 10 buttons are visible when the wave list is loaded. | Sets whether a certain wave button should be visible or not. By default, all 10 buttons are visible when the wave list is loaded. | ||
| | | | ||
- | {{MethodParam|button|Number|The button to display or hide.}} | + | {{MethodParam|button|Number|The button to display or hide. (Range 1 to 10)}} |
{{MethodParam|toggle|Boolean|Displays a wave button or hides it.}} | {{MethodParam|toggle|Boolean|Displays a wave button or hides it.}} | ||
| | | |
Revision as of 22:15, 1 December 2009
setWaveButtonVisible(button, toggle) | ||
Sets whether a certain wave button should be visible or not. By default, all 10 buttons are visible when the wave list is loaded. | ||
Parameter | Expected Type | Description |
button | Number | The button to display or hide. (Range 1 to 10) |
toggle | Boolean | Displays a wave button or hides it. |
Returns | ||
Returns nothing. |
Example
harvest.setWaveButtonVisible(1, false)