SetThreatLevelProgress (Harvest)
From OxeyeWiki
harvest.setThreatLevelProgress(progress) | ||
Sets the red threat level progress bar in the GUI. The progress is a value between 0 and 1. | ||
Parameter | Expected Type | Description |
amount | A value between 0 and 1 | The percentage to fill the threadlevel bar divided by 100 |
Returns | ||
Returns nothing. |
Example
harvest.setThreatLevelProgress(gameTime / 60.0)