Integer Settings Advanced
Three toggles, one selection value
- setting_value
The three-way version of Integer Settings. Where the basic node gives you a 1 or a 2 from a single toggle, this one exposes three toggles and outputs 1, 2, or 3 depending on which one is on. It's built to drive the pack's Switch (Three Way), giving you a labeled toggle bank to choose between three workflow branches instead of typing a number into the switch.
It's glue, plain and simple - but it's the right glue for a three-path graph, and it keeps the "which branch?" decision in one clearly-labeled place.
How it works
Three boolean inputs - setting_1, setting_2, setting_3 - and one INT output, setting_value. Only one is meant to be active at a time: enabling setting 1 outputs 1, setting 2 outputs 2, setting 3 outputs 3. You wire that value into a Three Way switch's selection_setting, and flipping a toggle re-routes the whole branch.
Think of it like radio buttons: three options, pick one. It defaults with setting_1 on (so, output 1), which is a sensible "first branch" starting state.
The inputs and outputs that matter
setting_1/setting_2/setting_3- the three toggles. Turn on the one whose branch you want.setting_value- the resulting INT (1/2/3) for a Three Way switch.
How to install it
ComfyUI Manager → search ControlAltAI Nodes → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/gseth/ControlAltAI-Nodes
then restart. No dependencies.
Common issues
The thing to be careful about is the "only one at a time" convention - these are meant to behave like a single selection, so decide what happens in your head as radio buttons and don't leave two on expecting some blend. If your Three Way switch lands on an unexpected branch, check which toggles are enabled. Pair it specifically with Switch (Three Way) (the two-way switch only reads 1 or 2, so a value of 3 would have nowhere to go). And like its simpler sibling, this isn't a math node - it's a toggle-bank-to-selector adapter for the switch, full stop.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| setting_1 | BOOLEAN | true | — |
| setting_2 | BOOLEAN | false | — |
| setting_3 | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| setting_value | INT | — |