Workflow

Here's a summary of the overall workflow to write dialogue in Consequence and play it in engine:

  • On the Write page, add a new event by writing the first line of dialogue (see Adding New Events for different ways to add events).
  • Go to the Facts page and add a trigger gameplay tag starting with Consequence.Triggers. - an example tag might be Consequence.Triggers.Resting, which could be a trigger tag intended to look up and play the best valid conversation when the player sits down to rest.
  • On the Trigger tab, create a New Rule, connecting the trigger tag to the dialogue event.
  • In the Commands box on the current tab, click Submit to Source Control.
  • In the Engine, open the Consequence window and click the Update button to update your Consequence data.
  • You can now trigger your dialogue in-game! You can trigger events with via their trigger tag - which allows Consequence to select the best valid dialogue for that trigger - or you can bypass the trigger lookup and facts logic and trigger an event directly by reference.
  • The dialogue will now play in engine, displaying subtitles and triggering dialogue audio if it has been submitted to the engine.

Next Steps

Now that you understand the simplicity and power of Consequence, it's time to set up your own Project! Go to Consequence.app to get started. Or learn more on the Consequence documentation page.