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
→
Clever door
Pages:
1
Clever door
sectordub
Posts: 2
November 14, 2012, 09:02:41 am
Hello,
I' m trying to create a system of doors who are open when the player push a button.
But what I want to do is if I push the button A the door A open and the door B get close.
ANd If I press the button B the door B open and the door A get close.
Can you help me with that?
Thanks
Arnaud
dtrungle
Posts: 1938
November 14, 2012, 09:25:58 am
Something like this should work, assuming your doors are already placed before this runs.
If buttonA is pushed
For each doorA in scene
-make doorA open
For each doorB in scene
-make doorB close
End
Pages:
1