Description
When you use this Auto Set Predictions you can tie it a channel point and have it start and then resolve the prediction all automatically, in this example I use the idea of flipping a coin, will it be Blue or will it be pink!
Import Code
TlM0RR+LCAAAAAAABADtWltv4koSfl9p/8NopPO0x0m7fR9ptAokgCFhws2AN/vQNxsf2pjFGEKO9r9v2ZAEHJJJZjIzu9IimUvfqvqrqu7q/vjzr3/58OHjSizSKJl9/PQB/14UzEgs4NfHj9ufhC2hOoWSf+S/P3z4c/sBVRHP26lYd3CgU4XDS9EdQRRbWFwhSGiCk0CjNtmOVXT6VyayfPxZJuVjqZgRKkU+3nKRib3yWyYzLmqLJG5E6TJZbKBJQGS61+Ze4a5IE7kS1wvBo0LpPanhIsnmeSOEPp9ly+RoIyLXZJN2s9lTGQsy40l8tu3xpJYlM5YtFmK2fFr3BL8DDA8m8KhKUcxFyhbRfCeyXDsVYn4mo5V4InKrsAgEKMRESXJRWf10czOMYEbr9ObmKmKLJE2C5Un7on9zU1uANutkMTX1m5uVfoJONKSpzs1NnLJkISN6wqX8uD/gPw8l081SVBNezIiP2nMas3CgyTte95Zf1qh13pmv+bCZkuFVOMa3E6ZdhR214vaGBpQZEuqt804SutWzkDW8iNblH269uaJ4HXZHEznWPOT3wvl9GwFjVjtyTmedcDw07jj2Nu45CjvYyXjsbXjVGFAEXnR+tWnVaxtfa1N31pzQuLuiA0Olw6ZkUZNfyu5qoHU3oMOsVZ3Oc13z8bdP5Y43msVcWKMpfdCJ1+WKTuW0kAX6X0655Bc8pRjGrvkT9sftfZ+/tarNNYu9KRm2ERk6GRl2ostqJR4Pb+/83vRhvsVTl7FbnUzorK35Ize87qOwvZmuLlEz5cNBuxqdPbQVBzpuH7abg9vgINuAhzf96pnjXrQ7varR8EfdBq07Ecgejkeufd/+Ogqjw7k5Kq+3V3Q4uH1R3y0+GMYKOZYZjWXmI2MC/cLrXuV8cBFmXeyhLr5djeNa6sW1zXWjjVje7k5P3Fll4w+787HWnVNsXPNR9w+KVXk1LMb4mtxifA/mCromg339JdgVOym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mizsvyvYeABXrRe0OcH5UfxP07Z530zf8RC8LM7fr5PlZb/buCvWHSWgI8gtz6FfmfrL6C/e74+Ylvjygdf4vXQgraL1mb69b8jHNcv6wy709aenwy0CuDbpcRDL1OnOfUY7sk5O8Ck+BuI3/A241Eeh3rxFwSIRwx2RTntD/NBV3duAvadMTWN9tpGo97L1P8LNPE52GmSx+HBfGV3zmFNAD84Tk976e2ot34GI49eSZS69ZyurRX9yvrAmIiPmpnb6G74cPCAU07jBp3P//X0rAEJMitO4diAjClgSCEicBRkU9jUhUMdwd6Rnv2B1yPl8wfPFuRwr98126XTJd0JJAg7dveIIgVWQuUaRhZVHAvyZt2w8vOEaUPyjCkWhkk18g0XST+ItX23DDD/2LbcpnF7XaFbHEOSdN/+3/8BfmP/i9AoAAA=
Installation
In Streamer.bot in select Import
from the top left.
Copy the Import Code
and paste it into the Import String
.
You will need to get this codepen https://codepen.io/terrierdarts/pen/oNEGdJe and download it, to download press extract
in the bottom righthand side, and put it somewhere safe and create a browser source with the url of the index file into OBS.
For more info about codepens check out Lyfesaver’s Video on Codepens here.
After you’ve got the codepen into OBS you will need to go into the ResolvePrediction
Action and make sure the OBS Subactions are pointed to that source that you’ve just added.
As we are going to need to add info its important that you DO NOT tick local file.
Then you will need to create a Channel Point Redeem that is pointed to the TriggerPrediction
Action.
The Save Variables
Action needs to be tied to the Created
Event within the Predictions Tab.
You can find the Prediction Tab via,
Platforms Twitch Predictions
If set up correctly it should look like the image below
Example
Original Pen Comes from html5andblog https://codepen.io/html5andblog/pen/pJZpee