SetTimerValue (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 14: Line 14:
harvest.setTimerValue(gameTime)
harvest.setTimerValue(gameTime)
</pre>
</pre>
 +
 +
=== Resources ===
 +
*[http://www.oxeyegames.com/forum/viewtopic.php?p=1523#p1523 Oxeye Game Studio Forum - Harvest Functions]

Latest revision as of 16:07, 2 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.

Harvest Library

Example

harvest.setTimerValue(3600) -- 1hr
harvest.setTimerValue(gameTime)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox