Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create Event:
- execute code:
- q_randomizer = 0;
- //List of questions
- q1 = "question 1"
- q2 = "question 2"
- q3 = "question 3"
- q4 = "question 4"
- q5 = "question 5"
- q6 = "question 6"
- Alarm Event for alarm 0:
- execute code:
- q_randomizer = irandom(6);
- Draw Event:
- execute code:
- if (q_randomizer = 1) {
- draw_text(x,y,q1)
- } else
- if (q_randomizer = 2) {
- draw_text(x,y,q2)
- } else
- if (q_randomizer = 3) {
- draw_text(x,y,q3)
- } else
- if (q_randomizer = 4) {
- draw_text(x,y,q4)
- } else
- if (q_randomizer = 5) {
- draw_text(x,y,q5)
- } else
- if (q_randomizer = 6) {
- draw_text(x,y,q6)
- }
- Key Press Event for Key:
- execute code:
- //"Question being answered" simulation
- //Insert if statements about right or wrong answers in the final version
- //Set alarm that randomizes
- alarm[0] = 15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement