Skip to main content
Version: 3.7

Procedural Dungeon ⏵ Dungeon Graph ⏵ Count Room Type

Count Room Type

Class: Dungeon Graph
Category: Dungeon Graph

Description​

Returns the number of a specific RoomData type in the dungeon

Node

C++

int32 CountRoomType(const TSubclassOf<URoomData> & RoomType) const

Inputs​

NameTypeDescription
TargetDungeon Graph Object Reference
Room TypeRoom Data Class Reference (by ref)

Outputs​

NameTypeDescription
Return ValueIntegerReturns the number of a specific RoomData type in the dungeon