Hello everyone,

i'm working on a little multiple choice game in director.
my problem is the following:

there's one (obviously) question being read (from a text
field containing the questions) and displayed on the screen.
there are three answers to every question of which only
one is correct. they are being read the same way the questions
are from three different fields.

now my problem is, i can't seem to be able to put the answers in
random text fields. i tried to use the method i used for preventing
questions to be displayed twice per game (the line number of the current
question is being compared to the lines numbers stored in a seperate text
field.
if there's a match, the newQuestion handler is being executed again
until there's no match. after a question has been answered the according
line number is being written into the seperate text field), however this
doesn't seem to work.

what i would like to do is, place the 3 answers in random text fields,
to prevent that the first answer is always the correct answer.

i'm sure this is pretty easy to do, but i think i've been working on the
rest
of the project too long already today.

any help would be greatly appreciated!

thanks a lot,

Sandro


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to