Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explosiveSpecialist and UAVHacker traits to default commander slot #3295

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions A3A/addons/core/functions/OrgPlayers/fn_unitTraits.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ if(roleDescription player == "Default Commander") then
player setUnitTrait ["audibleCoef",0.8];
player setUnitTrait ["loadCoef",1.4];
player setUnitTrait ["medic", true];
player setUnitTrait ["explosiveSpecialist", true];
player setUnitTrait ["UAVHacker", true];
// ACE clears the engineer unitTrait and adds this var at CBA initPost, so we have to do it ourselves
if (missionNamespace getVariable ["ace_repair_enabled", false]) then { player setVariable ["ace_isEngineer", true, true] } else { player setUnitTrait ["engineer", true] };
_text = localize "STR_A3A_fn_orgp_unitTraits_commander1" + "<br/>" + localize "STR_A3A_fn_orgp_unitTraits_commander2";
Expand Down