
|
1) The timer message is used to run code after a delay has elapsed. The verbs SetTimer() and SetTimerEx() are used to set the delay and start the timer for the cog that ran the command. SetTimerEx() can also send an ID and two parameters.
| Sender: | None. |
| Source: | None. |
| Sender Type: | None. |
| Source Type: | None. |
| Param0: | Third param of SetTimerEx(). |
| Param1: | Fourth param of SetTimerEx(). |
| Param2: | None. |
| Param3: | None. |
| ID: | Second param of SetTimerEx(). |
2) SetThingTimer() is used to set a thing timer. A thing timer acts like a regular timer, but the timer message will be sent to all of the thing's cogs with the thing as the sender.
| Sender: | First param of SetThingTimer(). |
| Source: | None. |
| Sender Type: | Thing (3). |
| Source Type: | None. |