Need help in picking multiple random instances of an object!

Get help using Construct 2

Post » Sun Mar 20, 2016 8:30 pm

Hello,

I have a little problem here. First let me explain what I have in my project. I made and object, and I placed multiple (66) instances of this object troughout the layout. I placed them manually, so when the game starts they are always in the same place.
What I want to do is when the game starts, to pick just 15 instances of them, without repeating themself.
Is there a way to pick multiple instances of the object?

Thanks,
Sorin
B
6
Posts: 3
Reputation: 256

Post » Sun Mar 20, 2016 8:56 pm

add object instance variable "thisOne"

Image
Image
B
63
S
23
G
7
Posts: 1,480
Reputation: 10,796

Post » Sun Mar 20, 2016 9:11 pm

Thanks a lot man :D That worked great and is just what I wanted. Thanks for your quick replay. Have a nice day :D
B
6
Posts: 3
Reputation: 256


Return to How do I....?

Who is online

Users browsing this forum: alextro, tarek2, wenwen11212016 and 10 guests