How do I rotate a random object from a family

Get help using Construct 2

Post » Fri Nov 21, 2014 2:51 am

Hey guys,

Does anybody knows what I'm doing wrong with these events?
I'm trying to get construct to pick a random circle from the Circles family each time and rotate it. But it's rotating all of them each time.

Image
B
8
S
2
Posts: 39
Reputation: 1,492

Post » Fri Nov 21, 2014 3:41 am

You probably need to add the "trigger once while true" condition, otherwise it keeps repeating this event every tick and picking a random instance every time.
B
72
S
27
G
17
Posts: 254
Reputation: 14,971

Post » Fri Nov 21, 2014 5:26 am

Also, a family picks a random instance by default.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: ivanski1983, KTML5, XavierOrionGames and 5 guests