v1.0.0.14: Movement Trail (Carbonite-style) - red dots show where you've been
Made-with: Cursor
This commit is contained in:
@@ -173,6 +173,18 @@ public unsafe class IntegrationsController : IDisposable
|
||||
// so quest turn-in and objective progression during suppression still trigger refresh when suppression ends.
|
||||
_lastTempMarkerCount = tempCount;
|
||||
}
|
||||
|
||||
// Movement trail: record player position when enabled (Carbonite-style)
|
||||
if (System.SystemConfig.ShowMovementTrail && Service.ObjectTable.LocalPlayer is { } localPlayer) {
|
||||
try {
|
||||
var agent = AgentMap.Instance();
|
||||
System.MovementTrailConfig.TryAddPoint(
|
||||
agent->CurrentTerritoryId,
|
||||
agent->CurrentMapId,
|
||||
localPlayer.Position.X,
|
||||
localPlayer.Position.Z);
|
||||
} catch { /* ignore */ }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Build a string of (QuestId, Sequence) for each active quest so we can detect step advances.</summary>
|
||||
|
||||
Reference in New Issue
Block a user