Forum Discussion

BernhardHennric's avatar
BernhardHennric
Community Member
19 days ago
Solved

Zustand in Abhängigkeit des Quizergebnisses

Hallo zusammen,

Ich habe im Storyline eine Quizfolie in Form von 12 Kacheln. Hinter jeder Kachel steckt eine Frage (Sprung zu der anderen Folie funktioniert). Wenn die Frage richtig oder falsch beantwortet wurde wird der User wieder auf die Übersichtsfolie mit den Kacheln geleitet. Nun möchte ich auf der Folie mit den Kacheln, dass sich der Zustand entsprechend auf grün (richtig) oder rot (falsch) ändert.

Hierzu habe ich auf der Quizfolie eine Variable angelegt, die an die Ebene "richtig" gekoppelt ist. In meiner Übersicht mit den Kacheln habe ich dem jeweiligen Rechteck die Zustandsänderung in Abhängigkeit des Ergebnisses hinterlegt, aber es funktioniert nicht. 

Hat noch jemand einen anderen Vorschlag für mich? 

 

  • Google translation of the original post: 

    I have a quiz slide in the form of 12 tiles in the storyline. Behind each tile is a question (jumping to the other slide works). If the question is answered correctly or incorrectly, the user is taken back to the overview slide with the tiles. Now I want the state on the slide with the tiles to change to green (correct) or red (incorrect).

    To do this, I created a variable on the quiz slide that is linked to the "correct" level. In my overview with the tiles, I assigned the state change to the respective rectangle depending on the result, but it doesn't work.

    Does anyone have another suggestion for me?

    As I understand it, you adjust a variable on each question to track whether the response was correct or incorrect. You want to use that variable to change the state of the corresponding tile when the user returns to main slide. But that's not working. 

    What's the "when" in the triggers that change the state? 

    A common problem is using "when variable changes" in a trigger. That only works when the change happens on the same slide as the trigger. Thus, if your variable changes on the question slide, the main slide doesn't "see" that happen. So "when the variable changes" triggers won't run. 

    Instead, use triggers that change the state to "correct" or "incorrect" when the timeline of the main slide starts, with the condition based on the variable. 

    If that's not the problem, I suggest you upload the Storyline file. Here are the best practices for doing that:

    • Only include slides that are related to the problem.
    • Be sure objects, layers, motion paths, and variables have meaningful names.
    • If there is proprietary content, replace or delete it. For example, replace proprietary text with “ipsum lorem” text.

     

    Google translation of reply: 

    So wie ich es verstehe, passen Sie bei jeder Frage eine Variable an, um zu verfolgen, ob die Antwort richtig oder falsch war. Sie möchten diese Variable verwenden, um den Status der entsprechenden Kachel zu ändern, wenn der Benutzer zur Hauptfolie zurückkehrt. Aber das funktioniert nicht.

    Was ist das „Wann“ in den Triggern, die den Status ändern?

    Ein häufiges Problem ist die Verwendung von „Wenn sich die Variable ändert“ in einem Trigger. Das funktioniert nur, wenn die Änderung auf derselben Folie wie der Trigger erfolgt. Wenn sich also Ihre Variable auf der Fragenfolie ändert, „sieht“ die Hauptfolie das nicht. Trigger vom Typ „Wenn sich die Variable ändert“ werden also nicht ausgeführt.

    Verwenden Sie stattdessen Trigger, die den Status in „Richtig“ oder „Falsch“ ändern, wenn die Zeitleiste der Hauptfolie startet, wobei die Bedingung auf der Variable basiert.

    Wenn das nicht das Problem ist, schlage ich vor, dass Sie die Storyline-Datei hochladen. Hier sind die Best Practices dafür:

    • Fügen Sie nur Folien ein, die mit dem Problem in Zusammenhang stehen.
    • Stellen Sie sicher, dass Objekte, Ebenen, Bewegungspfade und Variablen aussagekräftige Namen haben.
    • Wenn proprietärer Inhalt vorhanden ist, ersetzen oder löschen Sie ihn. Ersetzen Sie beispielsweise proprietären Text durch den Text „ipsum lorem“.
  • Vielen dank für die Antwort. Genau.

    Anbei zwei Screen meiner Ausarbeitung, die leider nicht funktioniert :)

    Viele Grüße

    Irena

     

  • The images aren't clear enough for me to read. If you post images with just the Trigger Panel, those might be legible. 

    Here are other common problems when working with variables that might help with troubleshooting:

    • The variable isn't changed as expected. The way to check this is to temporarily insert a variable reference on the slide(s), like you did with the "Level" variables.
    • The same variable is associated with multiple objects or slides, so it doesn't have the expected value. The solution to that is to reset the variable to its default value, or to use a unique variable for each object or slide. 

     

    https://translate.google.com/?sl=auto&tl=en&op=translate 

  • This is your trigger on the Tiles slide:

    It runs when the variable changes. But the variable changes on a different slide. That is the common problem I mentioned in my original reply:

    The triggers to change the states of the tiles need to run when the timeline starts on the slide with the tiles

    The attached file demonstrates this. 

    Viel Glück!

  • Vielen Dank, ich habe es so geändert, jedoch ist die Kachel für die Frage bereits zu Beginn grün, ohne, dass ich jemals auf der Fragefolie war. Meine erste Frage ist eine Drag-and-Drop Frage.

     

  • I don't know why one tile starts as green. Here are things to check:

    • Is its Initial State set to the green state?
    • What's the value of the associated variable at that time? If the default value is Richtig, the trigger with that condition will run.

     

    Troubleshooting is just guessing without seeing the actual file. 

    I suggest you submit the case to the Articulate staff. It's safe to send them the file. They will delete it when the case is completed.

  • Danke! 

    • Was ist der Wert der zugehörigen Variable zu diesem Zeitpunkt? Wenn der Standardwert Richtig ist, wird der Trigger mit dieser Bedingung ausgeführt.

    Wie kann ich das prüfen?