# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/squid-game-giftbox-device-for-hiding-and-teleportation-in-unreal-editor-for-fortnite
# Local doc: epic-docs/documentation/en-us/fortnite/squid-game-giftbox-device-for-hiding-and-teleportation-in-unreal-editor-for-fortnite.md
# Section: Verse Level
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Verse.org/Random }
using { /UnrealEngine.com/Temporary/Diagnostics }
CoffinCategory<public><localizes>:message := "Coffin settings"
GameplayCategory<public><localizes>:message := "Gameplay"
FailureCategory<public><localizes>:message := "Failure"
CoffinTooltip<public><localizes>:message := "Reference to coffin device managed by this device."
RandomTravelTargetTooltip<public><localizes>:message := "If enabled, coffin will transport the player to another random coffin."
InspectButtonTooltip<public><localizes>:message := "Button placed nearby the coffin. Can be used by seeker to check if someone is hiding inside."
ResetTooltip<public><localizes>:message := "Trigger that resets experience."
CueTooltip<public><localizes>:message := "Audio player that will be played when seeker inspects empty coffin."
MessageTooltip<public><localizes>:message := "Message that will be displayed when seeker inspects empty coffin."
FreezeTooltip<public><localizes>:message := "Mutator zone that will freeze seeker when they inspect empty coffin."
FreezeTimeTooltip<public><localizes>:message := "For how long seeker will be frozen."
coffin_controller := class(creative_device):
@editable:
Categories := array{CoffinCategory}
ToolTip := CoffinTooltip
Coffin : hiding_prop_device = hiding_prop_device{}
@editable:
Categories := array{CoffinCategory}
ToolTip := RandomTravelTargetTooltip
ShouldRandomizeTravelTarget : logic = false
@editable:
Categories := array{GameplayCategory}
ToolTip := InspectButtonTooltip
Verse Library
verse
01 Verse Level
Implements a device to manage hiding props, random teleportation, and seeker freeze mechanics.
extracted-snippets/documentation/en-us/fortnite/squid-game-giftbox-device-for-hiding-and-teleportation-in-unreal-editor-for-fortnite/01-verse-level.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.