TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
Books & Courses
FORUMS
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Chat
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Show/hide group of actors
Pages:
1
Show/hide group of actors
spinnerbox
Posts: 166
November 26, 2013, 07:23:25 am
I know there is a block for show/hide specific actor, but how about several actors at once?
For example I have a dialog box with ok button in front of it. When I press ok button both the dialox box and the ok button actors disappear.
http://www.stencyl.com/game/play/22553
http://www.kongregate.com/games/spinnerbox/conquering-europe
http://www.kongregate.com/games/spinnerbox/conquering-europe-cities
MarkRosewood
Posts: 51
November 26, 2013, 08:40:20 am
You could just create a new group and put all the actors you want to show/hide into it. Then you can just loop through the group:
http://static.stencyl.com/pedia2/blocks/scene/actors/GetActorsinGroup.html
spinnerbox
Posts: 166
November 27, 2013, 05:35:56 am
Thank you. I thought there was a block for this. I will surely make it work like this.
http://www.stencyl.com/game/play/22553
http://www.kongregate.com/games/spinnerbox/conquering-europe
http://www.kongregate.com/games/spinnerbox/conquering-europe-cities
Pages:
1