What is Triggerbox?

A Triggerbox is a special zone in the map editor that runs code when a player walks into it. You can use them to create interactive features, game rules, and unique world effects.

How to Use Triggerbox

To start, select a Triggerbox in the map editor. First, choose a mode (when the code should run, like "on enter").
Then, you can add an action (what should happen, like repairing a car vehicle{repair}).
If you want even more control, you can add conditions so the code only runs for certain players or at certain times.

Alternatively, you can use the Triggerbox Builder. It automatically generates the correct syntax so you can easily copy and paste it directly into your map.

Quick Tip: Finding Commands

Scroll down to the Documentation Hub to find specialized tabs for everything from Physics and NPCs to Advanced Audio and Cinematic Camera controls!

Single Function

Create simple codes for your objects and actions.

Multi-Command

Build complex codes with multiple steps and conditions.

Single Function Builder

Generate triggerbox codes easily.

Live Preview (Click to Copy)

            

Documentation Hub

Explore the specialized categories of the Triggerbox Hub:

No track playing
0:00 0:00