how make random dialogue

Get help using Construct 2

Post » Wed Dec 21, 2011 2:23 am

how make random dialogue. anyone know?
B
5
S
1
G
1
Posts: 3
Reputation: 859

Post » Wed Dec 21, 2011 4:33 am

or random number (exact) 1, 2, 3, 4, 5... and no 1.657765765756, 1.9898899..

anyone know?
B
5
S
1
G
1
Posts: 3
Reputation: 859

Post » Wed Dec 21, 2011 4:45 am

int(Random(1,6)) should do the trick



Great tutorial by pearsonlands on native expressions

http://www.scirra.com/tutorials/77/native-expressions-in-construct-2StonePaleAle2011-12-21 04:49:42
B
31
S
10
G
7
Posts: 30
Reputation: 5,403

Post » Wed Dec 21, 2011 4:48 am

it worked! thank you @StonePaleAle
B
5
S
1
G
1
Posts: 3
Reputation: 859

Post » Wed Dec 21, 2011 5:54 am

The manual page about system expressions, even better/more complete than the previous tutorial.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,786


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 15 guests