Your first flow
This walkthrough builds a small flow: when you press a button, it picks a random intensity and vibrates your shockers with it. It takes about five minutes, and it only ever vibrates. When you're done it will look like this:
Before you start, make sure at least one shocker shows Active on the Devices page. If you haven't yet, read safety controls as well.
1. Create the flow
- Click Flows in the sidebar.
- Click New above your flow list. MultiShock creates a flow called "New Flow", opens it, and switches the left panel to Nodes.
- Click the flow name at the top right of the toolbar and rename it, for example to "Random buzz".
2. Add the nodes
- In the Nodes tab, type
manualin Search nodes, then drag Manual Trigger onto the canvas. - Search for
randomand drag Random to the right of it. - Search for
vibrateand drag Vibrate to the right of that.
To move a node later, drag it.
3. Wire them together
Drag from each output pin on the right of a node to an input pin on the left of the next one:
- Manual Trigger → Triggered to Random → Execute.
- Random → Done to Vibrate → Execute.
- Random → Integer to Vibrate → Intensity.
The first two wires are green Flow pins: they set the order things happen in. The third carries a number. See how nodes work for what the pin colors mean.
Tip: you can also drag a wire from a pin and let go on empty canvas. MultiShock lists the nodes that fit, and wires up the one you pick.
4. Set the properties
Click a node to see its settings in the property panel on the right.
- Click Random and set Minimum to 20 and Maximum to 50.
- Click Vibrate and check Duration (seconds). The default of 1 second is fine. Leave Target on All Shockers to vibrate every active shocker.
Vibrate's own Intensity setting isn't used here, because the wired Intensity input takes its place. Each shocker's Power limit still scales the result.
5. Save and run
- Click Save in the toolbar.
- Click Run. The status next to the flow name changes to Running, and the flow is locked for editing while it runs.
- Click the lightning button that appears in the toolbar, Fire the trigger once, right now. Your shockers vibrate at a random intensity between 20 and 50.
Click the lightning button a few times, and hover over a node to see how long its last run took. To see which number Random picked, stop the flow and add a Display node after Vibrate: wire Vibrate → Done to its Execute, and Random → Integer to its Value. Run the flow again, and Display shows each number on the canvas.
When you're done, click Stop. If you leave a flow running, it keeps running when you leave the editor and starts again the next time you open MultiShock.
Where to go next
- Replace Manual Trigger with a Timer, or with a plugin trigger such as Twitch Cheer, to make the flow start on its own.
- Put a Throttle after the trigger so the flow can't fire too often.
- Browse the node reference and the flow editor guide for everything else you can do.