Procedural Dungeon ⏵ Room ⏵ Get Connected Room Index
Get Connected Room Index
Class: Room
Category: Room
Description
Returns the index of the provided room, or -1 if room is not connected.
Node

C++
int32 GetConnectedRoomIndex(const URoom* OtherRoom) const
Inputs
| Name | Type | Description |
|---|---|---|
| Target | Room Object Reference | |
| Other Room | Room Object Reference |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Integer | Returns the index of the provided room, or -1 if room is not connected. |