SetTimerValue (Harvest)
From OxeyeWiki
(Difference between revisions)
(Created page with '{{HarvestMethod | setTimerValue(seconds) | Sets what time the timer should display, in seconds. | {{MethodParam|amount|A number|The number to set the timer to.}} | Returns nothin...') |
|||
Line 5: | Line 5: | ||
Sets what time the timer should display, in seconds. | Sets what time the timer should display, in seconds. | ||
| | | | ||
- | {{MethodParam| | + | {{MethodParam|seconds|Number|The seconds to set the timer to.}} |
| | | | ||
Returns nothing. | Returns nothing. | ||
Line 11: | Line 11: | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
- | + | harvest.setTimerValue(3600) -- 1hr | |
+ | harvest.setTimerValue(gameTime) | ||
</pre> | </pre> |
Revision as of 22:10, 1 December 2009
setTimerValue(seconds) | ||
Sets what time the timer should display, in seconds. | ||
Parameter | Expected Type | Description |
seconds | Number | The seconds to set the timer to. |
Returns | ||
Returns nothing. |
Example
harvest.setTimerValue(3600) -- 1hr harvest.setTimerValue(gameTime)