Skip to main content
Version: 3.9

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) const

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 PathBoolean