9️⃣Trigger Volume

Create a box or sphere shaped volume to detect when specified actors enter or exit the volume. Send an enter message and exit message.

PERFORMANCE TIP In multiplayer Experiences, there are two layers of logic that will not communicate with each other: singleplayer [SP] and multiplayer [MP]. For best performance, only apply [MP] behaviours and components to objects that MUST be synchronised to all players (or communicate on that layer), and maximise use of the [SP] (Client Only) layer.

USAGE TIP The [MP] version of this component will not communicate with Quests or [SP] behaviours or components. It can be used in singleplayer Experiences.

Common Uses

  • Triggering other logic based on player location inside/outside of a defined space (e.g., entering a pool, entering a boss fight room, etc.)

  • Broadcasting an enter/exit message to the triggering actor

  • Sending an instant kill message and respawning players at a checkpoint when they venture into areas outside the bounds of intended gameplay

Communications

Inputs: One or more defined actors are detected entering or exiting the volume

Outputs: a message is sent

Last updated

Logo

Copyright Β© 2012- 2023 The Sandbox. All Rights Reserved.