SetRushProgress (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | setRushProgress(value) | Sets the progress of the rush bar, the value ranges from 0 to 1. | {{MethodParam|value|Number|The percentage to fill the rush progress ...')
Newer edit →
(Created page with '{{HarvestMethod | setRushProgress(value) | Sets the progress of the rush bar, the value ranges from 0 to 1. | {{MethodParam|value|Number|The percentage to fill the rush progress ...')
Newer edit →
Revision as of 22:03, 1 December 2009
|
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)