User0


User0 is the first in a 0-7 series of user messages. These messages are used for cogs to send special messages to each other. SendMessage() and SendMessageEx() are used to send the message. SendMessageEx() sends parameters with the message and accepts a return value. Each cog may have its own set of user messages.

Though SendMessage() may be easier to use than SendTrigger(), SendMessage() is said to cause lag in multiplayer. If that's a problem, SendTrigger() should be used instead.


SenderThe cog that sent the message.
SourceThe player that sent the message.

Sender TypeCog (9).
Source TypeThing (3).

Param0Third param of SendMessageEx().
Param1Fourth param of SendMessageEx().
Param2Fifth param of SendMessageEx().
Param3Sixth param of SendMessageEx().