Skip to main content
Version: 3.7

Procedural Dungeon ⏵ Dungeon Graph ⏵ Has Already One Room Type From

Has Already One Room Type From

Class: Dungeon Graph
Category: Dungeon Graph

Description​

Returns true if at least one of the RoomData type from the list provided is already in the dungeon

Node

C++

bool HasAlreadyOneRoomTypeFrom(const TArray<TSubclassOf<URoomData> >& RoomTypeList) const

Inputs​

NameTypeDescription
TargetDungeon Graph Object Reference
Room Type ListArray of Room Data Class References

Outputs​

NameTypeDescription
Return ValueBooleanReturns true if at least one of the RoomData type from the list provided is already in the dungeon