Make a switch logic with percent chance of execution

Arthuro

Новичок
Регистрация
24.07.2019
Сообщения
12
Благодарностей
2
Баллы
3
Hello,

I want to make 3 actions with a percent à chance.

1. I have a random number between 1 and 100
2. I want to make a switch :
a. <=20
b. <=50
c. >50

But a switch logic with that doesn't work, I put a picture to show you :


The switch doesn't work I have an error : "Run switch logic statment Result: No matched value"

Can we do that with a switch or I need to make 3 IF lofic?


Thank you
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Switch checks what values You have in variable and compare with switch options if any option match it will go by that output.
In Your case better add 3 IF actions with logic in them.
 

Arthuro

Новичок
Регистрация
24.07.2019
Сообщения
12
Благодарностей
2
Баллы
3
Thank you for your answer.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)