Difference between revisions of "Delayed-Message Action"
Jump to navigation
Jump to search
imported>Mike |
imported>Mike |
||
Line 1: | Line 1: | ||
− | [[Image: | + | [[Image:Delayed message.png|150px|Delayed message.png]] |
{| width="100%" cellspacing="0" cellpadding="10" border="0" | {| width="100%" cellspacing="0" cellpadding="10" border="0" | ||
Line 11: | Line 11: | ||
| width="80" valign="top" align="left" | '''Example 1:''' | | width="80" valign="top" align="left" | '''Example 1:''' | ||
| width="100%" valign="top" align="left" | | | width="100%" valign="top" align="left" | | ||
− | ''' | + | '''Fading shield:''' Image you are creating somesort of space based action game where there are obstacles that you must avoid or take damage. In this sort of game you could use the delayed message action to create a shield which would activae upon a key press condition and would be set to fade after a certain amount of time with the delayed action. <br> |
− | + | <br> | |
<br> | <br> |
Revision as of 20:00, 5 April 2012
Definition: | The delayed-message action will trigger a message in this agent after a specified amount of time. Note that it is not possible to send delayed messages to other agents. |
Parameters: | method, time |
Example 1: |
Fading shield: Image you are creating somesort of space based action game where there are obstacles that you must avoid or take damage. In this sort of game you could use the delayed message action to create a shield which would activae upon a key press condition and would be set to fade after a certain amount of time with the delayed action.
|