SetWaveButtonVisible (Harvest)
From OxeyeWiki
(Difference between revisions)
| 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)