The warning message panel communicates with every graphic to display a warning message on the runner's feed. This is useful for warning viewers of upcoming content such as flashing lights, mature or disturbing content, or loud noises. The panel will automatically create a button for every runner, and multiple runner layouts have individual warning messages for each player (image 4).
Clicking the player warning button will turn the button green (image 2) and display the current warning on any live graphic. Pressing a green warning button will return it to grey, and collapse the warning message on the graphic. The state of any warning message will persist between graphic/dashboard refreshes.
There are two options in the stuk-node-cg config that add extra functionality to the warning message:
This determines the message that is displayed. If a single string is present in the config file, the warning message panel will display a label showing what that message is (image 1), and that message will display on the graphics when a warning button is clicked.
text can also be set to be an array of strings, meaning you can assign multiple warning messages. When set this way, the static label is instead replaced with dropdown list with each of the declared messages (image 3). Whichever message is selected from the list is what will be displayed when a warning button is clicked. Changing the drop down list whilst a message is being displayed won't change that message - the message only updates when it is first displayed. As a result, you can have different messages for different players.
This generates a text field in the panel, allowing you to write custom warning messages on the fly. If you have only one string declared in text then a RESET button will also be generated (image 5) - pressing this will revert the text field back to your declared message. If multiple pre-set messages are declared, you'll instead have the dropdown list (image 6) - selecting a message from the list will have it populate the custom message field.
Remember, you and your volunteers can enter anything into these boxes and it will show up on your stream. Enable this option with caution if you are working with volunteers, particularly those you don't know.