Skip to main content
 Warning: Beta Version
Version: Beta ⚠️
Difficulty: Normal

Conditional NPC showing

 NPC created

In this tutorial, we assume you already have created an entity.
If you haven't done that yet, please follow the entity extension tutorial first.

In this tutorial, you will learn how to conditionally show an entity using audiences.

Adding an audience entry

There are a lot of different audience entries available. For this tutorial, we will use Game Time audience, but all others have similar features.

Firstly, click on the + icon in the top right corner of the panel and search for New Game Time Audience. Add it to your page by clicking on the + icon.

Add Game Time Audience
Filters an audience based on the game time
+

Adding it onto your entity instance.

Now hold your entity instance and drag it onto the New Game Time Audience entry. This will link the audience to the entity.

It should now look something like this:

Interactive Graph

This is an interactive graph of all the entries in the selected pages.
You can view different pages by clicking on the tabs. Each page contains a view of the entries in that page.
Click on an entry to view its details.

Configuring the audience

Inside the audience entry, there are 2 fields:

  • Children: This is where you can add the entities that should be shown when the audience is met.
  • Active Times: This will make that the Children of the audience is only showed when this condition is met.
  • Inverted: This will invert the audience, meaning that the entity will only be shown when the audience is not met.

Result