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
→
How would I add actors to a list?
Pages:
1
How would I add actors to a list?
undefeatedgames
Posts: 121
June 10, 2013, 06:10:42 pm
So I can use a script to display a random actor from a list?
rob1221
Posts: 9473
June 10, 2013, 06:25:16 pm
The list blocks are under Attributes > Lists. To get a random actor from that list, use the "random number between __ and __" block with the "get item # __ from __" block.
https://twitter.com/Rob1221dev
Tuo
Posts: 2469
June 10, 2013, 06:49:30 pm
To add an actor to the list, you will need to use the "add _ to list _" block with the "actortype" block in the Actor->Properties palette (unless you really mean "actor", which would be in the Scene->Actors palette).
Don't look to me but rather to the One who is the reason for what I do.
If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.
If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (
http://community.stencyl.com/index.php/topic,16160.0.html
)
Pages:
1