VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Community Snippets›Spawning·Up to Community Snippets · Spawning·5 of 11 in Spawning

Random Room Spawning Using Scene Graph

81,208 Views

Report

  • using { /Fortnite.com/Devices }
    using { /Verse.org/SceneGraph }
    using { /Verse.org/Simulation }
    using { /Verse.org/SpatialMath }
    
    # Defines a room in the dungeon.
    dungeon_room := class<abstract>:
    
        # Whether or not the room contains enemies.
        @editable
        ContainsEnemies:logic = false
    
        # The physical bounds of the room. Defaults to double the fortnite tile size of 512cm x 384cm x 512cm to represent a 2x2 tile room.
        @editable_vector_number(float):
            ToolTip := RoomBoundsTip
        RoomBounds:vector3 = vector3{Left := 512.0, Up := 256.0, Forward := 512.0}
    
        # What enemies should spawn in the room.
        @editable
        EnemySpawners:[]guard_spawner_device = array{}
    
        # Constructs the entity prefab associated with this dungeon room.
        ConstructRoomPrefab()<transacts>:?entity = false
    
    <#
    simple_dungeon_room := class<concrete>(dungeon_room):

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Spawning · 5 of 11
Prev
fortnite team selection and counting devices that reference spawn points and teleporters
Next
fortnite simple wave spawn system

Source

Epic Games documentation

View original

Last updated 2026-07-26T12:14:31.281995+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse