Actions and Flow

I want to create a quiz that either shows 'correct' then moves on to the main scene, or 'incorrect' and shows a video again.

  1. play video give user a skip option
  2. quiz
  3. wait for answer
  4. if correct, show green 'correct' info box, wait five seconds, then go to the base scene
  5. if incorrect, show a red 'incorrect' info box, wait five seconds, then play the video again

undefined

Problem is I can display the green correct or red false box but nothing else. When I add a second action line, and preview the scene, the flow just goes to the last action line skipping the red or green feedback box.

I've uploaded a screen capture. What am I doing wrong?

Discussion (6)

I re-uploaded a new version with my cursor included. Even I wasn't able to follow LOL.

undefined

That answered so many questions. I have a really good demo coming together now.

(If you're thinking I have a major deadline today and in a bit of a panic, you would be correct!)

One last question for now. After the quiz happens and the user is right or wrong, I get the green 'Correct' or red 'Incorrect' info page come up for 5 seconds using the duration. That's looking great.

It's not timed (so we can't do an end action), so how do I bounce to redo the scene if incorrect, or leave the room to my base scene for the next scene?

Thank you John as always. Sorry about that nasty GIF.

  1. why is there a 'duration' on my first action if you suggest I just add a five second timer?
  2. when I add a 5 second timer between step 1 and 3, and save, when I go back it drops back to step 3 no matter how many times I drag it up
  3. this workflow doesn't work. The green 'correct' info screen never appears if I have a 'link to scene'

undefined

Annotation-2020-01-27-092043.png

The "Link to scene" action should not be on the question choice, it should be on the "On Done" action of the timer.

The list of actions will all be run in a row, they do not pause when they start timers, videos, audios, etc.

The Show/Hide timeout is there as a convenience feature. Its a pretty common methodology in VR to pop up a message for a few seconds when someone selects an correct/incorrect answer, and you then don't have to create a timer to hide it afterwards.

That first one was pretty tough to follow! I played it about ten times before I realized you posted the second one!

A couple of things.

If you are on the actions for the correct choice, there is no need to put in the condition to check if the question is correct. It will only trigger if that choice is selected, so it is correct.

On the action list, the action to show the green message for 5 seconds does not stop the processing of actions, all of the actions in the list will be executed in order, so the "Link to scene" action immediately after is run, and it switches scenes.

What you are likely looking to do is show the green message, and then start a timer for 5 seconds (probably one that doesn't show to the user), and having the scene switch on the "On Done" action for the timer.

For now I added a 'exit to main room' action item. It's there through the entire quiz which is probably a good idea anyway to have an exit button persistent.

Good for now! But we appreciate the quick replies!!!

Discussions have been disabled for this post