I'm working on a project for my Computing course, and I've tasked myself to make a simple "Who Wants To Be A Millionaire" type of game. Each card will have four answers to choose like the show.
What I'm having trouble finding out is how to trigger procedures when either of these four buttons are pressed. I've given each button the name "Answer_[insert number of button]". Here's the section I want to activate:
Code: Select all
on Check_Buttons
// If either of the four buttons is pressed, activate the procedures below
Check_Answer
Produce_Score
end Check_Buttons
The buttons have their own script. Here is an example button's code:
Code: Select all
on mouseUp
put Answer_2 into selected_answer
end mouseUp
So basically, I need to know two things:
- How to start procedures when either of the four buttons are pressed
- Where I should be putting my code when referring to procedures
Any response is much appreciated. If you respond and need clarification on something, I'll try to update you as soon as I can. Thanks in advance if you do help though

- LMW