Skip to main content
bronwynh7080238
Participant
May 22, 2018
Answered

Captivate Valve Sequence

  • May 22, 2018
  • 1 reply
  • 320 views

Hello

I'm fairly new to Captivate and still trying to teach myself. I need to create a training course where the user specifies a correct valve sequence by selecting valves and choosing whether they should be open or closed. I have the entire system drawn out as a vector illustration and I thought it would be fairly easy to import that into Captivate so that I could select the shapes, but I'm not having any luck with that. The user would only get the question correct if they got the entire sequence correct.

I was wondering what the best and most simple way to do this would be?

The only thought I have had is to insert the graphic with all the valves numbered and then have a drop down box for each valve where they can select open or closed.

Thank you!

    This topic has been closed for replies.
    Correct answer Lilybiri

    It would help if you added a screenshot (I am not a native English speaker, being a civil engineer, this is a use case which I like).

    Anyway here are some tips:

    • You'll have to separate the valves from their background
    • Try to have an image (bitmap or SVG) of a valvle in open and one in closed status
    • I would use a multistate object, where you have minimum two states: Open valve and Closed Valve
    • You can duplicate that multistate object as many times as you need valves.

    You need an interactive object to change the state of a valve when clicked. If you insert the above described images as fill the states of a shape, you can convert that shape to a shape button and it can be used as interactive object. I would take out the Rollover and Down states however to avoid confusion.

    There may be other workflows, but the first coming to me is to create a user variable for each of the valves: v_one, v_two..... Those should be Booleans: if you start with all valves closed, all variables have value = 0. When a valve is clicked, it will change to the Open state, and the variable will be set to 1. That can be done with a Shared action:

        Change State of Valve1 to Open

        Assign v_one with 1

    You add a Submit button. That Submit button will check the values of the variables, and if all are like the correct sequence, you show a Success message, if not a Failure message. You didn't tell if you want a score and if it has to be transferred to a LMS?

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    May 22, 2018

    It would help if you added a screenshot (I am not a native English speaker, being a civil engineer, this is a use case which I like).

    Anyway here are some tips:

    • You'll have to separate the valves from their background
    • Try to have an image (bitmap or SVG) of a valvle in open and one in closed status
    • I would use a multistate object, where you have minimum two states: Open valve and Closed Valve
    • You can duplicate that multistate object as many times as you need valves.

    You need an interactive object to change the state of a valve when clicked. If you insert the above described images as fill the states of a shape, you can convert that shape to a shape button and it can be used as interactive object. I would take out the Rollover and Down states however to avoid confusion.

    There may be other workflows, but the first coming to me is to create a user variable for each of the valves: v_one, v_two..... Those should be Booleans: if you start with all valves closed, all variables have value = 0. When a valve is clicked, it will change to the Open state, and the variable will be set to 1. That can be done with a Shared action:

        Change State of Valve1 to Open

        Assign v_one with 1

    You add a Submit button. That Submit button will check the values of the variables, and if all are like the correct sequence, you show a Success message, if not a Failure message. You didn't tell if you want a score and if it has to be transferred to a LMS?

    bronwynh7080238
    Participant
    May 22, 2018

    Hi Lilybiri

    Thanks very much for getting back to me, that definitely makes sense.

    Apologies for not attaching a screen shot - it's an internal document so I was trying to explain without having to share it.

    It will be scored via an internal server.

    Thanks again for your help!

    Lilybiri
    Legend
    May 22, 2018

    For the scoring, you have to know that every interactive object can have a score. You cannot attach the score to the Submit button. My approach, which I explained in this older post (principle is still valid): Report Custom Questions - part 2 - Captivate blog

    The idea is to have, besides the Submit button on that slide, two Next buttons which are initially hidden in output. One of the Next buttons has a score attached to it, the other doesn't have a score. With the Conditional action which you create for the Submit button, you show one of those buttons (and hide the Submit button):

    IF v_one is equal to ...   AND

          v_two is equal to...  AND

          ....

         Hide Bt_Submit

         Show Bt_NextCorrect

    ELSE

         Hide Bt_Submit

         Show Bt_NextWrong

    Since the user has to click on the Next button (do not use the default playbar), the score will be added to cpQuizInfoPointsscored if the answer was correct, none will be added when the answer was wrong.