Page MenuHomeFeedback Tracker

BIS_fnc_setUnitInsignia's image missing after remove/change uniform
Acknowledged, NormalPublic

Description

When I set the insignia, take off uniform, and put it back on, the insignia image disappears, although the game returns that this insignia is still set's

upd::: demonstration video >> https://www.youtube.com/watch?v=fkXWALIqMLs
dev 2.07.148387, no mods

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
21H1
Category
Scripting
Steps To Reproduce
  1. start Eden
  2. place player
  3. launch and exec e.g. [player,"Spetsnaz223rdDetachment"] call BIS_fnc_setUnitInsignia;
  4. take off the uniform
  5. put back on
  6. try to exec code again - returns false and no image on uniform

Event Timeline

TRAGER created this task.Oct 12 2021, 10:33 AM
TRAGER renamed this task from BIS_fnc_setUnitInsignia's image missing if remove/change uniform to BIS_fnc_setUnitInsignia's image missing after remove/change uniform.Oct 29 2021, 11:27 AM
TRAGER updated the task description. (Show Details)

Could you provide repro with vanilla content please

BIS_fnc_KK changed the task status from New to Need More Info.Oct 29 2021, 11:48 AM

Do you mean vanilla (2.06) build?
Or you about Spetsnaz223rdDetachment? --- this is vanilla insignia, see: Arma_3:_Unit_Insignia "Spetsnaz 223rd Special Purpose Detachment" from Arma 3 Contact (Platform)

Anyway a new video on 2.06.148221 >> https://youtu.be/LyWTdtCShaI

Tenshi added a subscriber: Tenshi.Dec 15 2021, 1:34 PM

Thank you for the feedback, i was able to confirm the issue.
Unfortunately it's not something we can easily solve at this stage.

With lastest dev update insignia will not be lost after take off and putting on again for same uniform object.
But if unit put on new(other class name) uniform BIS_fnc_setUnitInsignia will return false and no imagine will show

  1. place unit, exec player forceAddUniform 'U_B_CombatUniform_mcam'
  2. exec [player, "BI"] call BIS_fnc_setUnitInsignia;
  3. exec player forceAddUniform 'U_B_CombatUniform_mcam_vest'
  4. exec [player] call BIS_fnc_getUnitInsignia;

result - insignia class name was return although no picture on clan selection

BIS_fnc_KK added a comment.EditedMon, Nov 25, 7:57 PM

It is just a variable stored on player that the function returns, I will get rid of it

BIS_fnc_KK changed the task status from Need More Info to Acknowledged.