Skip to main content
Version: 3.7

Procedural Dungeon ⏵ Dungeon Graph ⏵ Get First Room from Data

Get First Room from Data

Class: Dungeon Graph
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)