SetThreatLevelValue (Harvest)
From OxeyeWiki
(Difference between revisions)
(Created page with '{{HarvestMethod | 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. | {{MethodP...') |
|||
| Line 5: | Line 5: | ||
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. | 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. | ||
| | | | ||
| - | {{MethodParam| | + | {{MethodParam|value|Number|The number to set the threat level to.}} |
| | | | ||
Returns nothing. | Returns nothing. | ||
| Line 11: | Line 11: | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
| + | harvest.setThreatLevelValue(35) | ||
harvest.setThreatLevelValue(threatLevel) | harvest.setThreatLevelValue(threatLevel) | ||
</pre> | </pre> | ||
Revision as of 21:56, 1 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. | ||
Example
harvest.setThreatLevelValue(35) harvest.setThreatLevelValue(threatLevel)