Multiples

Get help using Construct 2

Post » Sun Sep 16, 2012 5:24 am

Just a quick question, is there a function which allows you to randomly select whole number multiples of a number?

eg. If number is 128, function will randomly pick one of these numbers 2,4,8,16,32,64.
B
7
S
2
G
1
Posts: 37
Reputation: 1,278

Post » Sun Sep 16, 2012 9:14 am

Last edited by Yann on Sun Sep 14, 2014 8:54 pm, edited 2 times in total.
B
68
S
22
G
14
Posts: 1,485
Reputation: 16,561

Post » Mon Oct 01, 2012 8:13 am

Sorry for the late reply, after some thinking I eventually found an alternative to using random multiples and forgot to check back. The solution was helpful though, it was quite a neat trick :)

Thanks anyway!
B
7
S
2
G
1
Posts: 37
Reputation: 1,278


Return to How do I....?

Who is online

Users browsing this forum: Brandons404, DarthPapalo666 and 29 guests