SetRushProgress (Harvest)
From OxeyeWiki
|
setRushProgress(value) | ||
|
Sets the progress of the rush bar, the value ranges from 0 to 1. | ||
| Parameter | Expected Type | Description |
| value | Number | The percentage to fill the rush progress bar divided by 100 |
| Returns | ||
|
Returns nothing. | ||
Example
harvest.setRushProgress(harvest.getTotalAlienDamage() / 50000.0)