Player Broadcaster works the same way as normal Broadcaster node. The only difference is that the signal will be sent to all players currently playing the game.
The Player Broadcaster will always be used with Broadcast Listeners.
Execute | Executes the Node. Can pass values & more |
On Start | Executes the Node at the start of the Hype |
Enabled | Enable or Disable the node. Disabled nodes cannot be executed |
Signal Out | Identifies the Broadcast Signal being sent for Broadcast Listeners |
Channel | Channel for the broadcast signal. |
The Broadcast Signal connects Broadcasters to Broadcast Listeners.
When a Broadcaster is executed every Broadcast Listener that is listening to the same Broadcast Signal will execute its functions.
The name of Broadcasters & Broadcast Listeners will automatically be set to the name of the Broadcast Signal used unless it is manually overwritten.
Channels allow you to use the same Broadcast Signal for multiple purposes.
When a Broadcaster is executed only Broadcast Listeners set to the same signal & channel will be executed.
The channel of both Broadcasters & Broadcast Listeners can be changed during runtime allowing a single Node to be used for multiple purposes.
Broadcast signals can be used to send information such as values, vectors & object targets.
Any Node that outputs values, vectors or object targets can be used to send that information through a broadcast signal. Simply execute the Broadcaster with the value output of the source Node and it will include that data in the broadcast signal.
For example:
A Number Node's output is linked to a Broadcaster's Execute input.
A Broadcast Listener set to the same Broadcast Signal has it's On Signal Received output linked to the value input of a Text Node.
Now every time the Number Node it will send it's value through the Broadcast Signal, updating the value in the Text Node