跳到主要内容
 Warning: Beta Version
版本:Beta ⚠️(未翻译)

World Specific Cinematics

 Before starting

It's best to first read Cinematics before starting this tutorial.

In this tutorial, you will learn how to create world-specific cinematics. This feature allows you to create 1 cinematic that can be used in multiple worlds.

Creating the dynamic variable

First, we need to create a dynamic variable. This variable will be used to determine which world the player is in. To do this please follow the these steps:

  1. Go to your camera cinematic and click on a segment
  2. Inside the segment at 1 of your paths click on the icon.
  3. Search for Player World Position Variable and click on it to add it to your segment.
添加 Player World Position Variable
Absolute Position in the players world
+

Configuring the dynamic variable

 repeat

Repeat this step for all paths inside the camera cinematic segment.

Now inside the inspector of the camera cinematic segment you can set the coordinates of your cinematic.

Configuring the dynamic variable

Where is the world value?

Good question, the world value is gone because we are using the Player World Position Variable to determine the world.
The world the player is in will be the world used.

Result

 Entity

For this guide we used an entity cinematic from the entities tutorial and an actionbar dialogue. This is to demonstration the use of the dynamic variable.