Print (Harvest)
From OxeyeWiki
(Difference between revisions)
(Created page with '{{HarvestMethod | print(string) | Prints a string in the lower left corner in the game. | {{MethodParam|text|A string|The text to be printed.}} | Returns nothing. }} === Example ...') |
|||
| (4 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
{{HarvestMethod | {{HarvestMethod | ||
| | | | ||
| - | print( | + | print(text) |
| | | | ||
Prints a string in the lower left corner in the game. | Prints a string in the lower left corner in the game. | ||
| | | | ||
| - | {{MethodParam|text| | + | {{MethodParam|text|String|The text to be printed.}} |
| | | | ||
Returns nothing. | Returns nothing. | ||
| Line 11: | Line 11: | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
| - | + | harvest.print("Timer is now: " .. timer) | |
</pre> | </pre> | ||
| + | |||
| + | === Resources === | ||
| + | *[http://www.oxeyegames.com/forum/viewtopic.php?p=1523#p1523 Oxeye Game Studio Forum - Harvest Functions] | ||
Latest revision as of 16:03, 2 December 2009
|
print(text) | ||
|
Prints a string in the lower left corner in the game. | ||
| Parameter | Expected Type | Description |
| text | String | The text to be printed. |
| Returns | ||
|
Returns nothing. | ||
Example
harvest.print("Timer is now: " .. timer)