Skip to main content
Version: 3.4

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​

NameTypeDescription
TargetRoom Object Reference
Other RoomRoom Object Reference

Outputs​

NameTypeDescription
Return ValueIntegerReturns the index of the provided room, or -1 if room is not connected.