Timer


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.


SenderNone.
SourceNone.

Sender TypeNone.
Source TypeNone.

Param0Third param of SetTimerEx().
Param1 Fourth param of SetTimerEx().
Param2None.
Param3None.

IDSecond 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.


SenderFirst param of SetThingTimer().
SourceNone.

Sender TypeThing (3).
Source TypeNone.