So.... I love MCC and it's ability to make a quick mission for me and my friends. My problem is, I have an earplug.sqf file that I put into a base mission I named "MCC_Base" so I can just load up a prefab base with the spawn points and arsenal and some vehicles, then we head out on the mission. When MCC is NOT enabled through the mods, the earplug script works fine. When it is enabled, no dice. here's the script:
init.sqf
ep = [] execVM "earplugs.sqf";
earplugs.sqf
waitUntil {sleep 1; soundVolume == 1};
epi = player addaction ["Earplugs In",{
1 fadesound 0.3;
player removeaction epi;
hintSilent "Earplugs In";}
];
waitUntil {sleep 1; soundVolume == 0.3};
epo = player addAction ["Earplugs Out",{
1 fadesound 1;
player removeaction epo;
hintSilent "Earplugs Out";
}
];
waitUntil {sleep 1; soundVolume == 1};
removeAllActions player;
ep = [] execVM "earplugs.sqf";
This is literally the ONLY problem I'm having with MCC. Please help!