Skip to content

Commit

Permalink
Merge pull request #39 from 7Cav/ReEnabledMedicalSettings
Browse files Browse the repository at this point in the history
Re enabled set medical settings via poppy
  • Loading branch information
AndreasBrostrom authored Apr 16, 2017
2 parents 2aa2acb + 2e7234b commit f6bc09e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cScripts/Loadouts/CfgLoadouts_Basic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class CAV_CombatLifesaver : CommonBlufor { // Combat Life Saver

insignia[] = {"CLS_Insignia"};

//preLoadout = "(_this select 0) setVariable [""ACE_medical_medicClass"", 1, true]";
preLoadout = "(_this select 0) setVariable [""ACE_medical_medicClass"", 0, true]";
};
class CAV_PlatoonMedic : CommonBlufor { // Platoon Medic
backpack[] = {"tf_rt1523g_big_rhs"};
Expand Down Expand Up @@ -207,7 +207,7 @@ class CAV_PlatoonMedic : CommonBlufor { // Platoon Medic
gps[] = {"ItemAndroid"};

insignia[] = {"CLS_Insignia"};
//preLoadout = "(_this select 0) setVariable [""ACE_medical_medicClass"", 2, true]";
preLoadout = "(_this select 0) setVariable [""ACE_medical_medicClass"", 1, true]";
};
class CAV_Starlight : CommonBlufor { // Mobile Medic Team
backpack[] = {"tf_rt1523g_big_rhs"};
Expand Down Expand Up @@ -254,7 +254,7 @@ class CAV_Starlight : CommonBlufor { // Mobile Medic Team
gps[] = {"ItemAndroid"};

insignia[] = {"CLS_Insignia"};
//preLoadout = "(_this select 0) setVariable [""ACE_medical_medicClass"", 2, true]";
preLoadout = "(_this select 0) setVariable [""ACE_medical_medicClass"", 2, true]";
};

class CAV_Engineer : CommonBlufor { // Engineer
Expand Down
4 changes: 2 additions & 2 deletions cScripts/Loadouts/CfgLoadouts_Common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class CommonBlufor {
watch[] = {"tf_microdagr"};

insignia[] = {""};
/*preLoadout = " \
preLoadout = " \
(_this select 0) setVariable [""ACE_medical_medicClass"", 0, true]; \
(_this select 0) setVariable [""ACE_isEngineer"", false];";*/
(_this select 0) setVariable [""ACE_isEngineer"", false];";
postLoadout = " \
[(_this select 0), currentWeapon (_this select 0), currentMuzzle (_this select 0)] call ace_safemode_fnc_lockSafety; \
[(_this select 0)] call ace_hearing_fnc_putInEarplugs";
Expand Down

0 comments on commit f6bc09e

Please sign in to comment.