Difference between revisions of "Print Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Repenning
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:Print.png|200px]]
+
[[Image:Print.png|200px|Print.png]]  
  
<table cellpadding="10" cellspacing="0" border="0" width="100%">
+
{| width="100%" cellspacing="0" cellpadding="10" border="0"
<tr>
+
|-
<td align="left" valign="top" width="80"><b>Definition:</b></td>
+
| width="80" valign="top" align="left" | '''Definition:'''
<td align="left" valign="top" width="100%">The <strong>Print</strong> ................</td>
+
| width="100%" valign="top" align="left" | The '''Print '''action: ''prints text to the status line - can be used to give a message to the player''
</tr>
+
|-
<tr>
+
| width="80" valign="top" align="left" | '''Parameters:'''
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
+
| width="100%" valign="top" align="left" | [[Text parameter|Text]]:&nbsp;what to print; may include agent attribute values when the name is preceded by ~ (for example: ~value)&nbsp; AgentCubes Desktop only (not AgentCubes online): May also include the special values: ~self.row (agent's current row), ~self.column (agent's current column), and ~self.layer (agent's current layer) <br>  
<td align="left" valign="top" width="100%">..............</td>
+
<br>  
</tr>
 
<tr>
 
<td align="left" valign="top" width="80"><b>Example:</b></td>
 
<td align="left" valign="top" width="100%"></td>
 
</tr>
 
 
 
</table>
 
  
 +
|-
 +
| width="80" valign="top" align="left" | '''Example:'''
 +
| width="100%" valign="top" align="left" | <br>
 +
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Latest revision as of 16:14, 18 April 2017

Print.png

Definition: The Print action: prints text to the status line - can be used to give a message to the player
Parameters: Text: what to print; may include agent attribute values when the name is preceded by ~ (for example: ~value)  AgentCubes Desktop only (not AgentCubes online): May also include the special values: ~self.row (agent's current row), ~self.column (agent's current column), and ~self.layer (agent's current layer)


Example: