Print (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
(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(string)
+
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|A string|The text to be printed.}}
+
{{MethodParam|text|String|The text to be printed.}}
|
|
Returns nothing.
Returns nothing.
Line 11: Line 11:
=== Example ===
=== Example ===
<pre>
<pre>
-
  print("Timer is now: " .. timer)
+
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.

Harvest Library

Example

harvest.print("Timer is now: " .. timer)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox