SetThreatLevelValue (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
Line 11: Line 11:
=== Example ===
=== Example ===
<pre>
<pre>
-
  harvest.setThreatLevelValue(35)
+
harvest.setThreatLevelValue(35)
-
  harvest.setThreatLevelValue(threatLevel)
+
harvest.setThreatLevelValue(threatLevel)
</pre>
</pre>
 +
 +
=== Resources ===
 +
*[http://www.oxeyegames.com/forum/viewtopic.php?p=1523#p1523 Oxeye Game Studio Forum - Harvest Functions]

Latest revision as of 16:05, 2 December 2009

setThreatLevelValue(value)

Sets the value of the threat level string in the GUI. This is only a display value and has no other effect on the game.

Parameter Expected Type Description
value Number The number to set the threat level to.
Returns

Returns nothing.

Harvest Library

Example

harvest.setThreatLevelValue(35)
harvest.setThreatLevelValue(threatLevel)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox