OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: SaOk on 28 Apr 2010, 23:08:52
-
Is there a way to detect if player is using certain addons or mods? I would like to make my "non-addon"-mission to feature ACE2 content/altered gamebalance if player have the mod enabled.
-
if (isClass(configFile>>"CfgPatches">>"ace_main")) then {//do stuff};
-
Thx, that should work. I also found that mod is enabled if:
count getArray (configFile >> "ACE_Config" >> "ace_pbos" >> "ace_pbos") > 0