How to shorten time with tons of exists() if-statments
Hi, i am playing a game and unlocking toons from time to time, when i had 10 before, my code was working fine. but now i have 30+ toons, some of them take almost 5-10 mins to start choosing their task. my code is as follows:
if tasktitle.
# 6 mins task
elif tasktitle.
# 6 mins task
elif tasktitle.
# 8 min task
....
elif tasktitle.
# 8 min task
i read the manual and i tried Settings.
For example,
if tasktitle.
# 6 mins task
elif tasktitle.
Some toons still take age to start choosing their task.
Any idea how i can improve my situation?
Maybe you can advise some scenario to achieve my goal since i am not expert in programming.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: