Page MenuHomeFeedback Tracker

Enhancement Request: Accept a STRING (hiddenSelection name) as the first argument of setObjectTexture/setObjectTextureGlobal and material equivalents
Feedback, NormalPublic


Right now, setting a texture for a hidden selection requires the index of the texture in the hiddenSelections[] array. This means that if the array ever changes, all scripts using this function run the risk of breaking.

It would therefore be helpful if the selectionNumber could be a NUMBER or a STRING, with the STRING being the name of the hidden selection instead of the index.

For example:

object setObjectTextureGlobal["camo", "\path\to\texture_co.paa"];

would always work as expected.


Operating System
Windows 10 x64
Additional Information

The command would be ignored if the given string is not part of the hiddenselection array.

Event Timeline

Alwarren created this task.Sep 6 2021, 10:15 PM
Alwarren edited Additional Information. (Show Details)Sep 6 2021, 10:17 PM
Tenshi changed the task status from New to Reviewed.Dec 15 2021, 4:23 PM
Tenshi set Ref Ticket to Internal Ref.: AIII-54844.
Tenshi added a subscriber: Tenshi.Dec 15 2021, 4:27 PM

Thank you for requesting the feature.
Due to the current phase of Live Ops development in Arma 3, we cannot commit to any new features, though we will try to consider them.

dedmen changed the task status from Reviewed to Feedback.Aug 23 2022, 3:36 PM
dedmen added a subscriber: dedmen.

Done in 2.10