Procedural Dungeon ⏵ Dungeon Generator Base ⏵ Add Room to Dungeon
Add Room to Dungeon
Class: Dungeon Generator Base
Category: Generation Algorithm
Description
Finalize the room creation by adding it to the dungeon graph. OnRoomAdded is called here.
Node
C++
bool AddRoomToDungeon(const URoom*& Room, const TArray<int32>& DoorsToConnect, bool bFailIfNotConnected)
Inputs
Name | Type | Description |
---|---|---|
In | Exec | |
Target | Dungeon Generator Base Object Reference | |
Room | Room Object Reference (by ref) | |
Doors to Connect | Array of Integers | |
Fail if Not Connected | Boolean |
Outputs
Name | Type | Description |
---|---|---|
Out | Exec | |
Success | Boolean | Finalize the room creation by adding it to the dungeon graph. OnRoomAdded is called here. |