# This is a comment. It explains the code.
# We are making a spawner for the Octane.
using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation }
octane_race_example := class(creative_device):
# Reference the Octane Spawner placed in the editor.
# Drag your Octane Spawner device onto this property in the Details panel.
@editable
MySpawner : vehicle_spawner_octane_device = vehicle_spawner_octane_device{}
# OnBegin runs automatically when the game starts.
OnBegin<override>()<suspends> : void =
# Enable the spawner so players can claim the Octane.
# note: vehicle_spawner_octane_device exposes Enable() to activate the device at runtime.
MySpawner.Enable()
Verse Library
verse
01 Device
Enables an Octane vehicle spawner at game start for instant car availability.
verse-library/using-octane-spawner-devices-in-fortnite-creative/01-device.verse