Skip to main content
Version: 0.8.0
Difficulty: Hard

Interaction Bounds

 Before starting

This guide assumes that you have already installed the Basic Extension.

 Before Starting

This guide is made for advanced users. It is recommended to have a good understanding of how Interactions work and function!

Before starting this guide there is some theory you need to know about interaction bounds before you should use them in your stories.

What are interaction bounds?

Interaction bounds are conditions that confine an interaction to a specific action or space. They provide control over when and how interactions can occur or be interrupted. A common example is cancelling a dialogue when the player walks away from an NPC.

Two Modes of Bounds

Interaction bounds operate in two distinct modes:

Interruption Mode

When in Interruption Mode, if the player breaks the bounding condition (such as walking out of a defined area), the interaction will be immediately cancelled. This is useful for casual conversations where you want to allow players the freedom to walk away.

Blocking Mode

In Blocking Mode, the player is prevented from violating the bounding condition altogether. The player cannot, for example, walk away from an important dialogue. This ensures players experience critical story moments fully before proceeding.

ModeBehaviourUse Case
InterruptionInteraction cancels when bound is brokenOptional dialogues, ambient interactions
BlockingPlayer cannot break the boundCritical story moments, important instructions

How Modes Are Determined

The mode is determined by comparing the priority of the interaction with the priority of the bound:

  • If the interaction has a higher priority than the bound → Blocking Mode
  • If the interaction has the same or lower priority than the bound → Interruption Mode
 tip

Entries inherit their priority from the page they belong to. You can set page priorities in the page properties panel.

How to use interaction bounds

Now that we have covered the theory, let's see how to use interaction bounds in your stories.
For this guide, we created 3 different examples to show you how to use interaction bounds in different situations:

 Guide

In this guide, we will show an example of how to make an interrupting interaction bound when the player walks away from a flower.

 Initial Setup

This guide will build upon the Interactions Guide and requires you to have at least an On Interact With Block entry in your editor.

Adding the Interaction Bound

To add an interaction bound, right-click on the On Interact With Block entry and select Link with ..., search for Player Radius Interaction Bound and add it to your sequence.

Add Player Radius Interaction Bound
An interaction bound around a player
+

Configuring the Interaction Bound

Now that we have added the interaction bound, we need to configure it.
Select the Player Radius Interaction Bound entry and open the inspector

You now got 2 options to configure

  • Radius: The radius of the interaction bound. This is the distance from the player where the interaction will be cancelled.
  • zoom: If the player's camera should zoom in when the player is nearby and zoom out when the player is walking away.

Now, your sequence should look a bit like this:

Result

Now, your interaction should look like this: