SetThreatLevelProgress (Harvest)

From OxeyeWiki

Revision as of 16:05, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Harvest Library

Example

harvest.setThreatLevelProgress(0.25)
harvest.setThreatLevelProgress(gameTime / 60.0)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox