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...') |
|||
| (One intermediate revision not shown) | |||
| 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.}} | ||
| | | | ||
| Line 14: | Line 14: | ||
harvest.setWaveButtonVisible(1, false) | harvest.setWaveButtonVisible(1, false) | ||
</pre> | </pre> | ||
| + | |||
| + | === Resources === | ||
| + | *[http://www.oxeyegames.com/forum/viewtopic.php?p=1523#p1523 Oxeye Game Studio Forum - Harvest Functions] | ||
Latest revision as of 16:07, 2 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)