How do I random but never...

Get help using Construct 2

Post » Wed Sep 21, 2016 1:08 am

how do i set floor(random(20,130)) but never select (80,90)

can we say floor(random(20,80))or(90,130)?
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Wed Sep 21, 2016 1:15 am

choose(a,b)

a=random(20,80)
b=random(90,130)

floor(x) Round down & ceil(x) Round up
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Wed Sep 21, 2016 1:28 am

a=? clobal num? i did get it.

can you continue exactly with code:

System | on start --- set Text.....
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Wed Sep 21, 2016 2:20 am

B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Wed Sep 21, 2016 1:31 pm

oh ty :) now i get it ;)
B
17
S
7
G
7
Posts: 205
Reputation: 5,335


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests