TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
"If" and "Otherwise IF", noob question.
Pages:
1
"If" and "Otherwise IF", noob question.
joeygu
Posts: 9
April 29, 2025, 10:01:28 pm
Hi
Please check:
IF A = True
Do task 1
Otherwise If B = True
Do task 2
Otherwise If C = True
Do task 3
Otherwise If D = True
Do task 4
When A = True, it will do task 1 and that's the end.
But when A = False and B,C,D are all true, what would happen?
Would task 2, 3, 4 all be executed, or just do task 2 and end?
Luyren
Posts: 2815
May 04, 2025, 03:26:34 pm
The first condition met will happen, which is B, and the rest is ignored.
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Pages:
1