Hype Train Begin
Runs on: Shared. Runs on the backend or in a chatbox overlay.
Fires when a hype train starts. Goal is the points needed to reach Level 1, so you can announce the target or set up a countdown. Pair it with Hype Train Level Up and Hype Train End.
Outputs
| Name | Type | Description |
|---|---|---|
Goal | number | The number of points required to reach Level 1 of the hype train. |
Level | number | The starting level of the hype train. |
Total | number | The cumulative points contributed so far. |
Progress | number | The points contributed toward the current level. |
ExpiresAt | string | ISO timestamp for when the current level's countdown expires. |
AllTimeHighLevel | number | The highest level your channel has ever reached in a hype train. |
AllTimeHighTotal | number | The most points your channel has ever contributed to a single hype train. |
Type | string | The kind of train: regular, golden_kappa, or treasure. |
StartedAt | string | ISO timestamp for when the hype train started. |
TopBitsUser | string | Display name of the top Bits contributor. |
TopBitsTotal | number | Points contributed by the top Bits contributor. |
TopSubsUser | string | Display name of the top subscriptions contributor. |
TopSubsTotal | number | Points contributed by the top subscriptions contributor. |
Train type
Type replaces the old Golden Kappa flag. To react only to a Golden Kappa train, branch on Type equalling golden_kappa. A Treasure Train reports treasure and an ordinary train regular.
Example
Announce the train in chat with the Goal in the message (insert it with a String Op node), branch on Type to give Golden Kappa and Treasure Trains their own announcement, and use AllTimeHighTotal to call out a record in reach.