Blue Mango Learning Systems GLX Application Framework version 1.2.0 build 1

Printer friendly version

command glxapp_listenForBroadcast

Registers an object to listen for broadcasts that another object can send.

command glxapp_listenForBroadcast pObject, pBroadcastTypes, pBroadcastTarget, pMessage
Parameters
TypeNameDescription
Simple parameter. pObject A reference to an object holding broadcast information or "global". This parameter refers to the broadcaster.
Simple parameter. pBroadcastTypes A comma delimited list of types of broadcasts the listener wants to hear about.
Simple parameter. pBroadcastTarget A reference to the object that will listen for broadcasts from pObject.
Simple parameter. pMessage The message that will be sent to pBroadcastTarget. If left empty then the default message for the broadcast type will be sent.
Return

Error message

See also