using { /Fortnite.com/Devices }
# This is our main script file.
# It controls our Crash Pad.
# We define a variable for our Crash Pad.
# A variable is a box that holds data.
# Here, the box holds the device.
my_crash_pad := crash_pad_device{}
# This function runs when the game starts.
# It is called "on_begin".
on_begin() -> void:
# We tell the device to be active.
# It will now catch players.
my_crash_pad.SetEnabled(true)
# We print a message to the log.
# This helps us know it is working.
print("Crash Pad is ready to bounce!")
Verse Library
verse
01 Fragment
Enables and activates a crash pad device when the game simulation begins.
verse-library/using-crash-pad-devices-in-fortnite-creative/01-fragment.verse