Page MenuHomeFeedback Tracker

Pickup randomization bug
New, UrgentPublic

Description

There is a bug in randomization of covered and comms pickup for ION variant -- its box color sometimes is wrong.

Details

Severity
None
Resolution
Open
Reproducibility
Sometimes
Operating System
Windows 10 x64
Category
Config
Steps To Reproduce
1 Place covered or comms pickup.
2 Insert into init-field this code:
[
    this,
    [
        "CSAT", 0.16,
        "Dazzle_Arid", 0.16,
        "IDAP", 0.16,
        "ION", 0.16,
        "NATO", 0.16,
        "UNA", 0.16
    ],
    [
        "hide_antenna", 0,
        "hide_box", 0,
        "hide_box_door", 0,
        "hide_bullbar", 0,
        "hide_rack", 0,
        "hide_rack_spotlights", 0,
        "hide_sidesteps", 0,
        "hide_snorkel", 0
    ]
] call BIS_fnc_initVehicle;
3 Check result for ION variant.
Additional Information

If you use this code:

[
    this,
    ["ION", 1],
    [
        "hide_antenna", 0,
        "hide_box", 0,
        "hide_box_door", 0,
        "hide_bullbar", 0,
        "hide_rack", 0,
        "hide_rack_spotlights", 0,
        "hide_sidesteps", 0,
        "hide_snorkel", 0
    ]
] call BIS_fnc_initVehicle;

then box color is right.

Event Timeline

Schatten created this task.Sat, Apr 6, 10:05 PM