Difference between revisions of "Show-Message Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Mike
 
Line 3: Line 3:
 
[[Image:Show message expanded.png|300px|Show message expanded.png]]  
 
[[Image:Show message expanded.png|300px|Show message expanded.png]]  
  
{| cellpadding="10" cellspacing="0" border="0" width="100%"
+
{| width="100%" cellspacing="0" cellpadding="10" border="0"
 
|-
 
|-
| align="left" valign="top" width="80" | '''Definition:'''  
+
| width="80" valign="top" align="left" | '''Definition:'''  
| align="left" valign="top" width="100%" | The '''Show-Message''' action: ''shows specified message in a pop-up dialog window''
+
| width="100%" valign="top" align="left" | The '''Show-Message''' action: ''shows specified message in a pop-up dialog window''
 
|-
 
|-
| align="left" valign="top" width="80" | '''Parameters:'''  
+
| width="80" valign="top" align="left" | '''Parameters:'''  
| align="left" valign="top" width="100%" |  
+
| width="100%" valign="top" align="left" |  
 
[[Text parameter|MainText]]: ''main text of the dialog window, shown in bold''  
 
[[Text parameter|MainText]]: ''main text of the dialog window, shown in bold''  
  
 
[[Text parameter|SubText]](optional): ''additonal text, shown normally.''  
 
[[Text parameter|SubText]](optional): ''additonal text, shown normally.''  
 +
 +
''Botth text boxes may include: agent attribute values when the name is preceeded by ~ (for example: ~value) 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>
  
 
|-
 
|-
| align="left" valign="top" width="80" | '''Example:'''  
+
| width="80" valign="top" align="left" | '''Example:'''  
| align="left" valign="top" width="100%" |  
+
| width="100%" valign="top" align="left" | <br>
 
|}
 
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Latest revision as of 22:10, 25 September 2012

Show message.png

Show message expanded.png

Definition: The Show-Message action: shows specified message in a pop-up dialog window
Parameters:

MainText: main text of the dialog window, shown in bold

SubText(optional): additonal text, shown normally.

Botth text boxes may include: agent attribute values when the name is preceeded by ~ (for example: ~value) 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: