The Event Editor Beta is a tool that allows players to freely set up a comprehensive process (hereinafter referred to as an “event”) when creating worlds on Teravit with a focus on storytelling, such as advancing conversations through flag management or making boss monsters dramatically appear using camera work, similar to an RPG.
Players can use their creativity to make various other events.

Both can be used in the item slots to place the corresponding items in the world. After placement, detailed settings can be adjusted by “examining” them, just like with other gimmicks.

Players can choose how the event appears on the World.
The event name is used only within the event editor and will not be displayed to players in the World. It is meant for management purposes, so feel free to set any name.
Players can configure whether contact detection is enabled for events placed in the World. If unchecked, player characters can overlap with events and pass through them without contact.
Events placed in the World can have multiple “Event Pages.”
Created event pages will be listed here.
Opens the menu for actions like “Copy & Paste” per page and “Preset Deployment” (mentioned later).
These are the buttons for adding/deleting event pages, and the button to open event page settings. Pages are always added at the end, and deleting will remove the currently selected page.
This is the button to open the event page settings. Refer to the “Basic Page Settings” section for more details.

Open the screen for defining macros used with the command “Execute Macro” (mentioned later).

Opens the menu to adjust the position of the event or to delete it.
Players can also check the “Variable States” that events possess (mentioned later).
This button is used to undo actions in the event editor or to redo actions that have been undone.
Players using a PC keyboard can perform Undo with Ctrl+Z and Redo with Ctrl+Y as shortcuts.

This is a list of commands set within the event page.
Players can open the menu with a right-click and add commands as they go along.

Select a page from the event page list and press the “Event Page Settings” button, and a page settings dialog like the one in the image will appear. Various settings can be adjusted from here.
The page name will only be displayed in the page list and will not be visible to players in the World. It is meant for management purposes, so feel free to set any name.
Set up player actions to trigger events. There are two types: “Examine” and “Approach”.
・Examine
The event is triggered when a player gets close and examines it.
・Approach
It will activate as soon as the player gets near the event.
Proximity distance can be set in one-block increments using the “Proximity Range.”
Players can choose the animation that the displayed skin will perform when an event page is triggered. Currently, in the beta version, only the “Standing” animation can be selected.
Players can control which event pages to be activated by setting various conditions, such as having a certain number of items or having the flag turned on.
Up to three conditions can be set for activation. If multiple conditions are set, the page will be activated only when all conditions are met.
*If there are multiple pages, the event page lowest on the page list that meets the activation conditions will be enabled.
*Events will not appear in the World if there are no enabled pages.

There is a category called “Preset Deployment” within the event page menu.
By selecting this option, players can discard the current event’s content and deploy a convenient event set prepared in advance by the Official Team.
This is an example of building a versatile event using macros; please use it as a reference when creating events.
For detailed instructions on how to use presets:
https://teravit.app/contents/index.html?category=teravit-en-content&id=48393

In the Event Editor, players can work with “Variables.” Variables are like containers where things such as numbers can be stored. They can used to specify conditions for page appearance or in commands like “Conditional Branching”. Players can also display the values stored in variables using the “Display Message” command.
Initially, all three types of variables are set to OFF by default.
These three types have different “periods for which the entered value is retained” and “events for which the value can be changed,” respectively.
・Work Variables
Work variables can only be modified by the event itself.
They can only hold their values within the event page and will reset to OFF once the executed event has been completed.
・Event Variables
Event variables are values that each event possesses, and only the event itself can modify these values.
The values will continue to be retained even after the event has ended.
・Global Variables
Global variables can be modified or referenced by all events.
The values will continue to be retained even after the event has ended.
Names for global variables can be set only when using the “Variable Calculation” command.
As it can be referenced from various events, it’s a good idea to give it a clear name and specify what kind of variable it is for in order to reduce the likelihood of variable referencing errors.
This contains values that the game system manages, such as the player’s money and score.
These values cannot be directly modified and are primarily used for referencing.
The quantity of specific items and the Item ID (management number within the game).
In general, values cannot be directly changed, but the number of items a player possesses can be modified using the “Item Configuration” command.
Related topics: Variable Conditions, “Variable Calculation” Command, “Message Display” Command.
Variables can be roughly divided into both “ON and OFF Boolean Values” and “Numerical Values from 0 to 999999”.
When used in conditions and similar contexts, “OFF and 0” are considered the same as “ON and a value greater than 1”.

The “Variable Conditions” dialog can be opened from the “Event Settings Button” in the upper right corner of the screen.
In this dialog, players can check the current state of the variable.
Event variable and global variable values can also be directly overwritten.
However, this operation is for testing purposes and does not determine the initial values of variables. When a player first plays that World, all event variables and global variables will start in the OFF state.

A command is the smallest unit of processing executed in an event. Setting multiple commands on an event page defines the event’s behavior. Events generally execute all commands sequentially from top to bottom. However, certain commands such as Loops, Conditional Branches, Choices, and Processing Terminations may deviate from this rule.
Inserts a command above the currently selected row.
Edit the content of the set command.
Use Cut and Paste to change the insertion position of a command. Use copy and paste to add the same command again.
It is possible to select multiple commands and perform these operations.
Deletes the currently selected command.
Selects all commands on the page.

Pause the execution of an event for a specified amount of time.

Used when branching the processing of events. If the set conditions are met, the commands within the conditional branch are executed.
Check “Other Processing” to set commands for situations where the conditions are not met.
In the example image, we are branching the process based on whether you have 5 “Medicinal Herbs” or not.

While the conditions are met, the commands set within the “Loop” will be executed repeatedly.
If the last command within the loop is executed in a state that no longer satisfies the conditions, the repetitive execution will terminate.
In the example image, the score decreases by 1 point every second until at least one “Flint” is obtained.
This command will terminate the execution of an event. Commands set after the termination of processing will not be executed.
Use the “Conditional Branch” command when to terminate processing under specific conditions.
This command allows the player to write text on the command list. The content of the “comment” command is not executed during event processing.
Used for purposes such as making notes on what the content is, so that it can be referred to later when complex commands are set.
Can display windows for NPC conversations and event progress notifications.
Close the message window after the message ends by checking “Close Window When Finished”.
Displays timers on the screen, including remaining time and elapsed time.
The timer display ends when the event ends. To keep the timer visible, set up the event to run repeatedly in a loop to ensure it does not finish immediately.
Settings like a 10-second countdown for a timer can be done using the “Timer Settings” command.
Windows can be displayed on the screen during an event.
Currently, the window that appears when using the map can be displayed.
Message windows and timers (among other things) can be hidden during an event.
When ON, the UI elements, such as Item Slots, will be hidden.

Can display two or more options.
It is also possible to set the processing separately after choosing an option.
Can receive numerical inputs from players.
Can allow players to select items from their inventory and receive the contents of the selected items.
In that case, the system variables “ITEM_ID,” “ITEM_NUM,” and “ITEM_LV” will contain the information of the selected item respectively.
Related Topics: Tags for Messages, etc.

Can display various logs.
Locking will temporarily ignore player input commands.
Players can choose to unlock at their discretion, or unlocking can happen in the following situations:
– When the event ends.
– After displaying a message with the “Close Window When Finished” option checked in message display.
Can make events or player characters show emotions.
Can set up camera movement effects.
– Camera Work Types
This specifies where to stop in relation to the camera’s movements and events.
1)Original Perspective
Mainly used with the player as the target.
The camera moves directly behind the player.
2)Top-Down View
Captures the target from a diagonal angle in the horizontal direction while also showing the event and the player.
3)Front View
Camera revolves around the model of the event, facing it directly.
When the model’s orientation changes through emotions and such, the front view also changes accordingly.
4)Bird’s-Eye View
Captures the event and the player while also showing the target from an overhead angle.
5)Side View
Positions the camera slightly offset to the side while keeping both the event and the player in view from their midpoint, capturing the target.
6)Custom
Makes the target the focal point. Player can adjust the camera work by moving the camera position with an offset.
Positive Z Value: North, Negative Z Value: South, Positive X Value: East, Negative X Value: West, Positive Y Value: Up, Negative Y Value: Down
– Camera Target
Can choose either events or players.
– Offset
Can adjust the camera’s stopping position along the three axes: X, Y, and Z.
– Animation
Choose from three options: None, Quick, and Smooth. These mainly allow the player to adjust the camera movement speed.
Display effects at events or player positions.
Set effects on the screen such as Screen Shaking and Blackout.
Set values to either ON or OFF for three types of variables: Work Variables, Event Variables, and Global Variables.
To make more advanced settings, such as configuring numerical values, use the “Variable Calculation” command.
This command performs variable calculations.
For more details regarding variables, please refer to “About Variables”.
In variable calculations, there is a mode called “Script” that allows for complex calculations.
Use the “Script” mode to perform calculations using multiple variables simultaneously.
In “Script” mode, you will need to manually write variables and expressions. The notation for variables that can be written in the script is as follows, without the need for parentheses:
– Global Variables:G001
– Event Variables:A
– Work Variables:W
– System Variables:MONEY
It is possible to specify the priority of calculation order using parentheses.
Ex:(MONEY+100)*2
Use this command to set timers, such as countdowns and countups.
Counts the number of players or monsters within the specified area.
This is a command to track distance. As for event and player distances, they can be referred to separately using the system variable “CHR_DIST”.
A command used to perform actions on map pins that have been placed on the World using Map Pin Items.
Change how map pins are displayed on the map based on the “Set State”.
– Hide PIn
Hides map pins on the map.
-Show Pin
Displays map pins on the map.
– Set as Destination
Display map pins on the map and show the straight-line distance from the current location with a dotted line.
Also displays map pin icons on the world map.
– Set as Teleport Point
Displays map pins on the map and allows player to teleport by selecting the pins.
Refer to “About Macros” for more details.
This command allows players to execute macros.
The macro and the calling event can use the same event variable, but the work variables each have their own.
– Variables for Passing Macros
The value specified in the “Argument” is automatically stored when the macro is executed.
At the end of the macro, put the value of this variable in “Variable Containing the Return Value” and return the value to the event.
– Arguments
The value stored in the “Variables Used for Passing Macros” during macro execution.
– Variable Containing the Return Value
At the end of the macro, the macro will store the value of “Variable Containing the Return Value” in this variable.
Try running various events that can be created with “Preset Deployment” to better understand the specific uses of events utilizing macros.
A command that sequentially retrieves objects within a specified range and executes loop processing.
For example, when targeting “Inventory”, a loop process will be executed for each item in possession. During this process, system variables like ITEM_ID will be sequentially assigned the IDs of the owned items with each iteration.
When targeting players, positional information such as POS_X and CHR_DIST, as well as status information like CHR_HP, will be searched and assigned for respective obtainable players.
Teleports player to a specified map pin.
Activate treasure chests and monster spawners from the event side.
“Enable in Events” must be set in advance on the treasure chest or monster spawner side.
A command that stops a gimmick that has been activated by a gimmick trigger.
Drop specified items onto the world in various ways.
Delete dropped items within the specified area.
Upon successful deletion, the “result variable” will receive a boolean value of ‘ON’.
Configure calculations such as adding or subtracting scores.
Configure calculations regarding gem balance such as adding or subtracting.
Change the status effects of the player’s character, directly specify HP, or perform calculations on them.
This command directly manipulates the inventory to add or subtract items, among other actions. In case of an error where the command cannot be completed, such as when there is no space in the inventory, players can specify the command’s behavior.
Set mode items that can be configured with markers or items from the event side.
Set resurrection points that can be configured with markers from the event side.
Play BGM (Background Music).
Play sound effects.
In the Event Editor, a “Macro” is defined as a collection of multiple commands that can be reused repetitively.
Macros are executed outside of events. Use the “Run Macro” command or set the macro to “Auto Run,” so it will be executed when the specified conditions are met.
The automatic execution of macros is particularly unique in events. For example, it can trigger events at timings that cannot be executed in regular events, such as displaying a message when a player has 10 “Medicinal Herbs” in their possession or healing HP when it drops below 50.
Display player name.
Perform page breaks with the “Display Message” command.
Display the value stored in the variable.
Display information such as the player’s current balance and HP.
・[item amount]
Display the item name specified by a number.
Numbers are used to store and utilize the following types of information:
– – “ITEM_ID” obtained with the “Various Inputs” command
Ex: [item ITEM_ID]
-The item ID received in the “Calculate Variable” command.
Ex: Use [item W] after receiving the item ID in work variable W through variable calculation.
Message when the condition is met (e.g., when 5 Medicinal Herbs have been obtained).
Message for when the condition has not been met (e.g., 5 Medicinal Herbs have not been obtained).
Do you have Medicinal Herbs?
Please share some Medicinal Herbs.
That’s unfotunate.