Procedural Dungeon ⏵ Dungeon Graph ⏵ Get Path Between
Get Path Between
Class: Dungeon Graph
Category: Dungeon Graph
Description
Returns the path 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++
bool GetPathBetween(const URoom* A, const URoom* B, TArray<URoom*> ResultPath, bool IgnoreLockedRooms)
Inputs
Name | Type | Description |
---|---|---|
In | Exec | |
Target | Dungeon Graph Object Reference | |
A | Room Object Reference | |
B | Room Object Reference | |
Ignore Locked Rooms | Boolean |
Outputs
Name | Type | Description |
---|---|---|
Out | Exec | |
Result Path | Array of Room Object References | |
Has Path | Boolean | Returns the path 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. |