The broadcast module allows you to broadcast a message to all players at any given point in the match.
Inside the broadcast tag you may specify either a <alert>
or a <tip>
message tag with an after=""
attribute. This attribute is required and specifies how long after the match is started the broadcast is shown.
The text in broadcasts can be formatted by using formatting codes.
Note! This module should only be used to to show important information that is specific and unique to the map. It should not be used to for generic OCN related messages.
Broadcasts Element | Description | |
---|---|---|
<broadcasts> </broadcasts>
|
An element containing all the defined broadcast messages. | |
Sub-Elements | Value/Children | |
<tip> </tip>
|
This will display a [Tip] message | Formatted Text |
<alert> </alert>
|
This will display an [Alert] message | Formatted Text |
Attribute | Description | Value |
---|---|---|
after
|
Required Duration to wait after the match starts to show the message. | Time Period |
every
|
After the message is shown repeat it with this duration between messages. | Time Period |
count
|
Amount of times the message is repeated. Infinite repetition can be specified by using oo as the duration.
|
Number |
filter
|
Property Filter if the broadcast message is sent after the duration has passed, or if it's skipped. | Filter |
Element | Description | Value |
---|---|---|
<filter>
|
Property Filter if the broadcast message is sent after the duration has passed, or if it's skipped. | Filters |
Examples
<broadcasts>
<tip after="30s">A [Tip] displayed 30 seconds into the match</tip>
<alert after="5m">An [Alert] displayed after 5 minutes</alert>
<tip after="10m" count="3">Repeated [Tip] at 10m, 20m, and 30m</tip>
<tip after="99s" count="oo">Repeated every 99 seconds, forever</tip>
<tip after="20m" every="1m">Displayed at 20m and every minute after that</tip>
<tip after="30m" every="10m" count="3">At 30m, 40m, and 50m</tip>
</broadcasts>