select the layout of random way?

Get help using Construct 2

Post » Thu Nov 19, 2015 6:43 pm

Hi !!

I wonder if there is a way to select the layout of random way.

I try to do it but it does not work

example: system -> gotolayout (by name) -> "layout" & str (random (1,10))

but it does not.

Have an idea ?

Thank you for sharing

best regard..
B
3
Posts: 2
Reputation: 179

Post » Thu Nov 19, 2015 6:47 pm

random(1,10) will also give results like 1.4523 and I'm guessing you don't have a layout called layout1.4523

floor(random(1,11)) should get better results..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Nov 19, 2015 7:04 pm

Oooo!!

sorry ...

thank you :)

best regard..
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests