SetThreatLevelProgress (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
{{HarvestMethod
{{HarvestMethod
|
|
-
setThreatLevelProgress(progress)
+
harvest.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 09:16, 14 March 2009

harvest.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
amount A value between 0 and 1 The percentage to fill the threadlevel bar divided by 100
Returns

Returns nothing.

Harvest Library

Example

harvest.setThreatLevelProgress(gameTime / 60.0)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox