Skip to content

[Feature] Autoset Radio channels #16

Description

@MildlyInterested
params ["_player", "_didJIP"];

waitUntil {([] call acre_api_fnc_isInitialized)};

private _117channel = _player getVariable ["starting_117f_channel", -1];
if (_117channel >= 0) then {
    [(["ACRE_PRC117F"] call acre_api_fnc_getRadioByType), _117channel] call acre_api_fnc_setRadioChannel;
};

private _343channel = _player getVariable ["starting_343_channel", -1];
if (_343channel >= 0) then {
    [(["ACRE_PRC343"] call acre_api_fnc_getRadioByType), _343channel] call acre_api_fnc_setRadioChannel;
};

private _152channel = _player getVariable ["starting_152_channel", -1];
if (_152channel >= 0) then {
    [(["ACRE_PRC152"] call acre_api_fnc_getRadioByType), _152channel] call acre_api_fnc_setRadioChannel;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurerequires new code

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions