Skip to main content

Procedural DungeonDungeon Graph ⏵ Get First Room from Data

Get First Room from Data

Category: Dungeon Graph

Description

Returns the first found room instance of the provided room data
(no defined order, so could be any room of the dungeon)

Node

C++

const URoom* GetFirstRoomFromData(const URoomData* Data)

Inputs

NameTypeDescription
InExec
TargetDungeon Graph Object Reference
DataRoom Data Object Reference

Outputs

NameTypeDescription
OutExec
Return ValueRoom Object ReferenceReturns the first found room instance of the provided room data
(no defined order, so could be any room of the dungeon)