Using Switch in State Machine

Hi,
i want to change some animation, depending on the selected weapon.
So i gave every weapon an ID to use a Switch like in the screenshot.

Without the switch everything works fine, but using the switch i get the “warning” (blue Note description) that this note is not used. The Integervalue is correct (Number==1), but the switch is not working. How can i make this switch working or is there an other solution to change animation depending on a number/integer?

You might have to link something into every input option.

i tried it, i copied this animation 2 times and plugged it into option 0 and 2. but it was not working.