Torque3D Documentation / _generateds / MessageForwarder

MessageForwarder

consoledoc.h

Forward messages from one queue to another.

More...

Public Attributes

caseString

Name of queue to forward to.

Detailed Description

Forward messages from one queue to another.

MessageForwarder is a script class that can be used to forward messages from one queue to another.

%fwd = new MessageForwarder()
{
   toQueue = "QueueToSendTo";
};

registerMessageListener("FromQueue", %fwd);

Where "QueueToSendTo" is the queue you want to forward to, and "FromQueue" is the queue you want to forward from.

Public Attributes

caseString toQueue 

Name of queue to forward to.