Skip to content

Commit

Permalink
ace detection ACE ver. 3.11.0.26 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
IrLED authored and StefArma committed Oct 25, 2017
1 parent 39b6e34 commit ffdd121
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions AntistasiOfficial.Altis/Functions/fn_detectACE.sqf
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
activeACE = false;
activeACE = !isNil "ace_common_fnc_isModLoaded";
activeACEhearing = false;
activeACEMedical = false;
if !(isNil "ace_common_settingFeedbackIcons") then {
activeACE = true;
if (activeACE) then {
unlockedItems = unlockedItems + ["ACE_EarPlugs","ACE_RangeCard","ACE_Clacker","ACE_M26_Clacker","ACE_DeadManSwitch","ACE_DefusalKit","ACE_MapTools","ACE_Flashlight_MX991","ACE_Sandbag_empty","ACE_wirecutter","ACE_RangeTable_82mm","ACE_SpareBarrel","ACE_EntrenchingTool","ACE_Cellphone","ACE_ConcertinaWireCoil","ACE_CableTie","ACE_SpottingScope","ACE_Tripod","ACE_Chemlight_HiWhite","ACE_Chemlight_HiRed"];
unlockedBackpacks pushBackUnique "ACE_TacticalLadder_Pack";
unlockedWeapons pushBackUnique "ACE_VMH3";
unlockedMagazines = unlockedMagazines + ["ACE_HandFlare_White","ACE_HandFlare_Red"];
genItems = genItems + ["ACE_Kestrel4500","ACE_ATragMX"];

if (isClass (configFile >> "CfgSounds" >> "ACE_EarRinging_Weak")) then {
if ("ACE_Hearing" call ace_common_fnc_isModLoaded) then {
activeACEhearing = true;
};
if (isClass (ConfigFile >> "CfgSounds" >> "ACE_heartbeat_fast_3")) then {
if ("ACE_Medical" call ace_common_fnc_isModLoaded) then {
activeACEMedical = true;

if (ace_medical_level == 1) then //ACE Basic medical system
Expand Down

0 comments on commit ffdd121

Please sign in to comment.