Random questions
![devilios](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi,
I have got a little problem with my question spawner. In fact, i made a calcul pad and i can answer with it. The problem is :
if i wrote
change attribute :
game.question to random(1,9)+random(1,9) ( i will just have the answer) and i want to see the calcul like 5+3=8
Someone told me " write random"(1,9)".."+"..random"(1,9)" ( if i wrote this, the attribute is invalid :P )
I got one solution but it's gonna be very long and painful.
When attribute:
game.question = 5
display text : 1+4=5
have you an other solution ?
Thx
BOB
I have got a little problem with my question spawner. In fact, i made a calcul pad and i can answer with it. The problem is :
if i wrote
change attribute :
game.question to random(1,9)+random(1,9) ( i will just have the answer) and i want to see the calcul like 5+3=8
Someone told me " write random"(1,9)".."+"..random"(1,9)" ( if i wrote this, the attribute is invalid :P )
I got one solution but it's gonna be very long and painful.
When attribute:
game.question = 5
display text : 1+4=5
have you an other solution ?
Thx
BOB
Comments
Have a good week.
BOB from Switzerland.