Random questions

deviliosdevilios Member Posts: 16
edited November -1 in Working with GS (Mac)
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

Comments

  • deviliosdevilios Member Posts: 16
    Thank you so much. You found the solution.

    Have a good week.

    BOB from Switzerland.
Sign In or Register to comment.