Page 1 of 1

how make random dialogue

PostPosted: Wed Dec 21, 2011 2:23 am
by eos
how make random dialogue. anyone know?

Re: how make random dialogue

PostPosted: Wed Dec 21, 2011 4:33 am
by eos
or random number (exact) 1, 2, 3, 4, 5... and no 1.657765765756, 1.9898899..

anyone know?

Re: how make random dialogue

PostPosted: Wed Dec 21, 2011 4:45 am
by StonePaleAle
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

Re: how make random dialogue

PostPosted: Wed Dec 21, 2011 4:48 am
by eos
it worked! thank you @StonePaleAle

Re: how make random dialogue

PostPosted: Wed Dec 21, 2011 5:54 am
by Kyatric
The manual page about system expressions, even better/more complete than the previous tutorial.