// Respawn Loadout Traits _loadoutCombo = uiNamespace getVariable (["BIS_RscRespawnControlsMap_ctrlComboLoadout", "BIS_RscRespawnControlsSpectate_ctrlComboLoadout"] select (uiNamespace getVariable ["BIS_RscRespawnControlsSpectate_shown", false])); _loadoutDisplayName = _loadoutCombo lbText (lbCurSel _loadoutCombo); if (_loadoutDisplayName != "") then {hint format ["%1 : LOADOUT", _loadoutDisplayName]}; if (_loadoutDisplayName == "Repair Specialist") then {player setUnitTrait ["engineer",true];}; if (_loadoutDisplayName == "Combat Life Saver") then {player setUnitTrait ["medic",true];}; if (_loadoutDisplayName == "UAV Operator") then {player setUnitTrait ["UAVHacker",true];}; if (_loadoutDisplayName == "Explosive Specialist") then {player setUnitTrait ["explosiveSpecialist",true];}; // Guide how to define channels https://community.bistudio.com/wiki/radioChannelCreate // Guide how to add channels pre-created to players on respawn https://steamcommunity.com/app/107410/discussions/17/1291816569115441819/ _aegisChannel = missionnamespace getvariable "AEGIS High-Command Channel"; _aegisChannel radioChannelAdd [player]; // Copy Loadout Information // [] execVM "scripts\exportLoadout.sqf";