SetRushProgress (Harvest)

From OxeyeWiki

Jump to: navigation, search

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.

Harvest Library

Example

harvest.setRushProgress(harvest.getTotalAlienDamage() / 50000.0)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox