# Ship Arena Game Mode Script
# This script coordinates devices to run a free-for-all match.
using { /Fortnite.com/Devices }
using { /Fortnite.com/Game }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# Define the main game manager as a creative_device so it
# can be placed on the island and wired to other devices.
ShipArenaGameMode := class(creative_device):
# Wire these in the UEFN Details panel to the
# player_spawner devices you placed on the ship deck.
@editable
PlayerSpawners : []player_spawner_device = array{}
# Wire this to an end_game device placed on the island.
# That device should be configured for "Last Player Standing."
@editable
EndGameDevice : end_game_device = end_game_device{}
# Wire this to a timer device (optional) to enforce a
# 10-minute match limit. Set the device duration to 600 s.
@editable
MatchTimerDevice : timer_device = timer_device{}
# OnBegin runs automatically when the match starts.
OnBegin<override>()<suspends> : void =
# 1. Enable every player spawner so players appear on deck.
Verse Library
verse
01 Device
Manages player spawning, match timers, and end-game triggers for arena modes.
verse-library/make-a-ship-themed-battle-arena/01-device.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.