Live Values Anything on Your Overlay Can Read
Overlays can now hold named values that events and chat rewrite mid-stream. Create one in the new
"Custom Variables" window in the sidebar, or under any Custom Code widget's code box, then read it with a token.
Code:
<div>Boss HP: {var:bosshp}</div>
Death counters, subathon goals, boss bars, win/loss records: a few lines of HTML, or just a Text element, driven from Trigger Studio.
- Event Driven: "Set a Custom Variable" sets, adds, or resets a value on subs, raids, cheers, or channel point redemptions.
- Chat Powered: !setgoal 500 stores the 500, and responses quote any value back with {var:name}.
- Truly Live: Widgets reading window.PGC.vars update without a reload. The same tokens work in Text and Ticker assets too.
One variable stays active on the Starter Kit, the Broadcast Suite makes them unlimited. Existing widgets keep working exactly as they are.