Procedural Dungeon ⏵ Dungeon Graph ⏵ Count Room Type
Count Room Type
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
| Name | Type | Description |
|---|---|---|
| Target | Dungeon Graph Object Reference | |
| Room Type | Room Data Class Reference (by ref) |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Integer | Returns the number of a specific RoomData type in the dungeon |