• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Game Feedback
  • /ARGF-538
Back
1

1.8 - Scenario Framework SlotAI duplicates waypoints after loading a save

GeneralCharacter
1

State

Assigned
Issue key
ARGF-538
Access
Public
Space
Arma Reforger
Project
Game Feedback
Creator
reaper
Created
Aug 29, 2026
Views
64
Platform
PC
Game Version
1.8.0.10
Mission
—
Is it modded?
no
Description

Description:
After loading a save, the AI group’s persisted waypoint queue is restored correctly, but SCR_ScenarioFrameworkSlotAI.m_bWaypointsInitialized remains false.

InitOtherThings() therefore calls InitWaypoints() again, adding all configured waypoints a second time.

Cause:
SCR_ScenarioFrameworkSlotAISave.OnGroupAvailable() checks GetCurrentWaypoint() before SCR_AIGroupSerializer has finished restoring the waypoint queue.

Result:
The AI group receives duplicate waypoints after every save load.

Suggested Fix:
In SCR_ScenarioFrameworkSlotAI.InitOtherThings(), check whether the restored AI group already has a current waypoint before initializing the configured waypoints again:

override bool InitOtherThings()
{
	if (m_AIGroup && m_AIGroup.GetCurrentWaypoint())
		m_bWaypointsInitialized = true;

	return super.InitOtherThings();
}


This prevents InitWaypoints() from adding the configured waypoint queue again after it has already been restored by SCR_AIGroupSerializer.

Reactions

Activity

    22 days ago
  • reaper
    created issue22 days ago
  • 20 days ago
  • l909
    changed state to
    ASSIGNED
    20 days ago

You are not signed in. Please sign in to see more details and to reply.

State

Assigned
Issue key
ARGF-538
Access
Public
Space
Arma Reforger
Project
Game Feedback
Creator
reaper
Created
Aug 29, 2026
Views
64