Skip to main content
Version: 3.4

Procedural DungeonDungeon 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

NameTypeDescription
InExec
TargetDungeon Graph Object Reference
ARoom Object Reference
BRoom Object Reference
Ignore Locked RoomsBoolean

Outputs

NameTypeDescription
OutExec
Result PathArray of Room Object References
Has PathBooleanReturns 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.