Hi,
There are many ways you could do this. Some may be easier than others, depending on how the rest of your game is set up. I'll suggest one example here. If it doesn't fit your needs, just let me know.
Let's say your game is a shooting gallery. Red Cubes and Blue Cubes float across the screen.
Mission one is "Shoot a Red Cube". Mission one starts active.
Mission two is "Shoot a Blue Cube". Mission two starts unassigned.
On your Red Cubes, assign two Dialogue System Triggers:
Dialogue System Trigger
- Trigger: OnDestroy
- Condition: Quest Condition > "Shoot a Red Cube" is active
- Actions:
- Set Quest State "Shoot a Red Cube" to successful
- Set Quest State "Shoot a Blue Cube" to active
- Show Alert: "Mission One Complete. Mission Two: Shoot a Blue Cube"
Dialogue System Trigger
- Trigger: OnDestroy
- Condition: Quest Condition > "Shoot a Red Cube" is successful
- Actions:
- Show Alert: "Wrong cube!"
On your Blue Cubes, assign two Dialogue System Triggers:
Dialogue System Trigger
- Trigger: OnDestroy
- Condition: Quest Condition > "Shoot a Blue Cube" is active
- Actions:
- Set Quest State "Shoot a Blue Cube" to successful
- Show Alert: "Mission Two Complete"
Dialogue System Trigger
- Trigger: OnDestroy
- Condition: Quest Condition > "Shoot a Red Cube" is active
- Actions:
- Show Alert: "Wrong cube!"