Broadcast Action


The Broadcast action broadcasts a message to all agents of the class indicated in the action's Class parameter.

The message to be broadcast is indicated in the action's text field and is a method call to all agents of the indicated Class.

The Broadcast action is used in conjunction with On triggers; the receivers can react to the message via the On trigger. These triggers give names to groups of rules (methods) that can be called using the Broadcastaction.


class, method name


The Scanner agent in the How Does TV Work? simulation broadcasts to the TV Beam and Video-Signal agents the message to turn bright or dark, depending on what it scans.

See the How Does TV Work? simulation.

| Next | Previous | Reference Manual | Getting Started Manual |