January 27, 2020 at 8:05 am #437800
I want to create a quiz that either shows ‘correct’ then moves on to the main scene, or ‘incorrect’ and shows a video again.
- play video give user a skip option
- wait for answer
- if correct, show green ‘correct’ info box, wait five seconds, then go to the base scene
- if incorrect, show a red ‘incorrect’ info box, wait five seconds, then play the video again
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?
- This topic was modified 4 months, 1 week ago by Rick Dolishny.
Attachments:January 27, 2020 at 8:09 am #437803
I re-uploaded a new version with my cursor included. Even I wasn’t able to follow LOL.
Attachments:January 27, 2020 at 9:03 am #437822
John BlackmonModerator42 pts@johnb
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.January 27, 2020 at 9:23 am #437828
Thank you John as always. Sorry about that nasty GIF.
- why is there a ‘duration’ on my first action if you suggest I just add a five second timer?
- 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
- this workflow doesn’t work. The green ‘correct’ info screen never appears if I have a ‘link to scene’
Attachments:January 27, 2020 at 9:54 am #437842
John BlackmonModerator42 pts@johnb
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.January 27, 2020 at 11:01 am #437861
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?January 27, 2020 at 11:06 am #437863
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!!!
You must be logged in to reply to this topic.