Procedural Dungeon ⏵ Dungeon Generator ⏵ Get Compatible Room Data
Get Compatible Room Data
Category: Dungeon Generator
Description
Returns an array of room data with compatible at least one compatible door with the door data provided.
Node
C++
void GetCompatibleRoomData(bool bSuccess, TArray<URoomData*> CompatibleRooms, const TArray<URoomData*>& RoomDataArray, const FDoorDef& DoorData)
Inputs
Name | Type | Description |
---|---|---|
Target | Dungeon Generator Object Reference | |
Room Data Array | Array of Room Data Object References | The list of room data to check for compatibility. |
Door Data | Door Def Structure (by ref) | The door used to check if a room is compatible. |
Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | True if at least one compatible room data was found. |
Compatible Rooms | Array of Room Data Object References | Filled with all compatible room data found. |