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
→
Chest Randomizer
Pages:
1
Chest Randomizer
nathanchow98
Posts: 1
July 25, 2018, 06:25:43 am
The problem I have is If the actor already spawn it won't spawn again but if its the randomize same actor it wont spawn again
cabinfever
Posts: 159
July 28, 2018, 09:07:04 pm
Create a list which contains your actor types.
Then create random number based on number of items in the list.
Create the actor based on the above random number and then remove this item from the list.
(so the list size is now smaller, and doesn't contain that element/actor anymore)
Pages:
1