Ilias38rus 5 Posted September 13, 2015 For example: if (/*cless of object A3_Characters_F_Civil;*/) then {}; or {} for each /*A3_Characters_F_Civil;*/ Share this post Link to post Share on other sites
Schatten 290 Posted September 13, 2015 https://community.bistudio.com/wiki/isKindOf Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 13, 2015 https://community.bistudio.com/wiki/isKindOf I know that, but there is a configfile of type's personaly, for classes do not working. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 13, 2015 https://community.bistudio.com/wiki/isKindOf I gues, i got it, but here is something wrong: _x isKindOf ["CAManBase", configFile >> "CfgPatches" >> "A3_Characters_F_Civil"]; Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted September 13, 2015 Put this before the loop: _types = getArray (configFile >> "CfgPatches" >> "A3_Characters_F_Civil" >> "units"); And this inside the loop: typeOf _x in _types Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 13, 2015 Put this before the loop: _types = getArray (configFile >> "CfgPatches" >> "A3_Characters_F_Civil" >> "units"); And this inside the loop: typeOf _x in _types Thank you. Share this post Link to post Share on other sites