• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Reforger Modding
  • /ARMD-77
Back
2

Allow construction of container ID paths using array ID access

2

State

User feedback
Issue key
ARMD-77
Access
Public
Space
Arma Reforger
Project
Reforger Modding
Creator
tilw
Created
Sep 26, 2026
Views
147
Platform
PC Steam
Game Version

1.8.0.13

Modlist

-

Description

Current example from vanilla script documentation:

		BaseContainer rootContainer = LoadMe(); // the root container point to "Shape"

		ContainerID containerPath = {
			new ContainerIdPathEntry("Points", 1), // Take the second point
			new ContainerIdPathEntry("Metadata") // Go to metadata of the second point
		};

		BaseContainer shapePoint = containerPath.GetOrCreateDirectPtr(rootContainer);
		if (shapePoint)
			shapePoint.Set("Name", "my new name");

		SaveMe(rootContainer);

This basically accesses the an element of the points array by index (new ContainerIdPathEntry("Points", 1)).

Request: It should also be possible to access array elements purely by ID/name. This is useful when you have an array of named containers, and want to access a specific one without knowing its index, only its ID. This is currently not easily possible, a good solution would be to add another constructor overload: ContainerIdPathEntry("Points","ID")

Reactions

Activity

    about 1 month ago
  • tilw
    created issueabout 1 month ago
  • about 1 month ago
  • l909
    changed state to
    USER FEEDBACK
    about 1 month ago

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

State

User feedback
Issue key
ARMD-77
Access
Public
Space
Arma Reforger
Project
Reforger Modding
Creator
tilw
Created
Sep 26, 2026
Views
147