Procedural Dungeon ⏵ Dungeon Graph ⏵ Number Of Room Between (using ReadOnlyRoom)
Number Of Room Between (using ReadOnlyRoom)
Class: Dungeon Graph
Category: Dungeon Graph
Description
Returns the minimum number of connected rooms between A and B.
Note: Could be pure, but since it can be heavy duty for large dungeons, keep it impure to avoid duplicate calls.
Node

C++
int32 NumberOfRoomBetween_ReadOnly(TScriptInterface<IReadOnlyRoom> A, TScriptInterface<IReadOnlyRoom> B) const
Inputs
| Name | Type | Description |
|---|---|---|
| In | Exec | |
| Target | Dungeon Graph Object Reference | |
| A | Read Only Room Interface | |
| B | Read Only Room Interface |
Outputs
| Name | Type | Description |
|---|---|---|
| Out | Exec | |
| Return Value | Integer | Returns the minimum number of connected rooms between A and B. Note: Could be pure, but since it can be heavy duty for large dungeons, keep it impure to avoid duplicate calls. |