Find path to actor
flowchart LR Quest[Quest sets ObjectiveActor] --> Input[Player input or auto] Input --> WC[Waypoint Component] WC --> Nav[Nav mesh path] Nav --> Vis[Spawn or Spline visuals]
Blueprint
Section titled “Blueprint”Event InputAction FindObjective → Get Waypoint Component (from player) → Find Path to Actor Target Actor: ObjectiveActor variableToggle off trail:
Deactivate on Waypoint Component — or clear target and call internal finish via new path callvoid AMyCharacter::ShowPathToObjective(AActor* Objective){ if (WaypointComponent && Objective) { WaypointComponent->FindPathToActor(Objective); }}For a Scene Component marker (e.g. arrow on a moving platform):
WaypointComponent->FindPathToComponent(TargetArrow);Auto refresh
Section titled “Auto refresh”| Target behavior | Settings |
|---|---|
| Static objective | Tick Time = 0, call once |
| Moving NPC | Tick Method = Time, Tick Time = 0.25–0.5 |