Skip to main content
Version: 3.6

Procedural DungeonDungeon 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