Difference between revisions of "Print Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Repenning
 
Line 7: Line 7:
 
|-
 
|-
 
| width="80" valign="top" align="left" | '''Parameters:'''  
 
| width="80" valign="top" align="left" | '''Parameters:'''  
| width="100%" valign="top" align="left" | [[Text parameter|Text]]:&nbsp;what to print; may include agent attribute values when the name is preceeded by ~ (for example: ~value)&nbsp; 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>  
+
| 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>  
 
<br>  
 
<br>  
  

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: