Skip to main content
Version: 0.5.1
Difficulty: Normal

First Join Cinematic

 Before Starting

Before starting, it's recommended to read the following sections: Interactions, Cinematics, and Facts. Ensure you have a sequence and a cinematic page created.

In this tutorial, you'll learn how to create a cinematic that plays when a player joins the server for the first time.

Adding the Join Entry

First, we need to add the Add On Player Join entry to our sequence. This can be done by clicking on the + icon in the top right corner of the panel and searching for Add On Player Join. Add it to your page by clicking on the + icon.

Add On Player Join
When the player joins the server
+

Waiting for Interaction

 Early Start Cinematic

Before a player fully loads the server, it is possible for TypeWriter to start the cinematic prematurely. This can occur if the player has a slow internet connection or a low-performance computer. In such cases, the player may join the server in the middle of the cinematic instead of at the beginning. To address this, it is recommended to add an option or a delay where the player needs to perform an action before the cinematic starts.

To add an option to your sequence, it's best to read the Options page. For this tutorial, we will have a New Option with a Start Cinematic option.

Configuring the Criteria

Now we need to configure the criteria for the cinematic. This can be done by clicking on the + icon in the inspector next to the criteria field. Then, you can select the fact you want to use. For this tutorial, we will use a permanent fact called First Join with the group set to a player group.

first-join-fact

Inside the criteria, set the operator to == and the value to 0.

Configuring the Modifier

You have configured the criteria, but now we need to modify the fact so that when you join again, the cinematic is not played. This can be done by clicking on the + icon in the inspector next to the modifier field. Then, you can select the fact you want to modify. For this tutorial, we will use the same fact as the criteria. Inside the modifier, set the operator to = and the value to 1.

Now your inspector should look like this:

add-cinematic-fields

Adding the Add Cinematic Entry

Now we need to add the Add Cinematic entry to our sequence. This can be done by right-clicking on the New On Player Join entry and selecting + Link with .... Then, search for Add Cinematic and click on the + icon to add it to your sequence. Now your sequence page should look like this:

Add-Cinematic

Inside the New Cinematic, select the cinematic you want to trigger via the inspector at the page field. For this tutorial, we will use the Tutorial_Cin cinematic.

Result

Now, when a player joins the server for the first time, the cinematic will play. When the player joins again, the cinematic will not play.