SetThreatLevelProgress (Harvest)
From OxeyeWiki
(Difference between revisions)
Line 1: | Line 1: | ||
{{HarvestMethod | {{HarvestMethod | ||
| | | | ||
- | + | setThreatLevelProgress(progress) | |
| | | | ||
Sets the red threat level progress bar in the GUI. The progress is a value between 0 and 1. | Sets the red threat level progress bar in the GUI. The progress is a value between 0 and 1. |
Revision as of 21:58, 1 December 2009
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 |
progress | Number | The percentage to fill the thread level bar divided by 100 |
Returns | ||
Returns nothing. |
Example
harvest.setThreatLevelProgress(0.25) harvest.setThreatLevelProgress(gameTime / 60.0)