Skip to content

Mod Detection

Lazejun edited this page Jul 15, 2021 · 1 revision

Mod detection is added in A3-Antistasi\Templates\detector.sqf.

Make sure that all needed Mods are part of the Detection to turn true, to ensure that people don't miss any mods.

Like:

//RHS Detection
if (isClass (configFile >> "CfgFactionClasses" >> "rhs_faction_vdv") &&
isClass (configFile >> "CfgFactionClasses" >> "rhs_faction_usarmy") &&
isClass (configFile >> "CfgFactionClasses" >> "rhsgref_faction_tla")) then {
  A3A_hasRHS = true;
  Info("RHS Detected.");
};

This would ensure that RHS doesen't turn true if people don't load all the needed mods to play.