Configs
22 functions. Also as Markdown for agents.
- BIS_fnc_baseVehicleReturns base vehicle (i.e., vehicle which is not just derivative of other with different textures / animations).
- BIS_fnc_classMagazineReturns class of magazine given by string.
- BIS_fnc_configExtremesScan config paths and return min and max values for each property.
- BIS_fnc_configPathReturns config path to given entry in given format.
- BIS_fnc_controlConfigsReturn config paths to all display controls.
- BIS_fnc_displayNameReturn given class displayName value. Return base class name if displayName not defined.
- BIS_fnc_getCfgSmart-return config (extension for BIS_fnc_getCfgXXXX functions). Can by called 2 ways: - 1st way - passing config directly - 2nd way - passing array…
- BIS_fnc_getCfgDataSmart-return number, text or array value from config. - Default syntax works for any config. - Alternative syntax is for working comfortably with…
- BIS_fnc_getCfgDataArrayGets an array defined in Config. If the value is not an array, it is retyped into one.
- BIS_fnc_getCfgDataBoolGets a number defined in config and retype it into a boolean. Everything greater than 0 is true, otherwise it is false.
- BIS_fnc_getCfgDataObjectGet the object defined in cfg by its name (global variable).
- BIS_fnc_getCfgDataPoolGet array of attribute values out of the parent config class. Attributes need to be in this format: "_n", where n is an index number (starting from…
- BIS_fnc_getCfgIsClassReturn true if it is a class. Can by called in two ways: - first way (general) works for any config - second way is for comfortable working with…
- BIS_fnc_getCfgSubClassesReturn all child classes of given class.
- BIS_fnc_loadClassSearches for class in mission, campaign and then in global config file.
- BIS_fnc_loadEntrySearches for config entry in mission, campaign and then in global config file.
- BIS_fnc_returnChildrenReturns all subclasses within given class.
- BIS_fnc_returnConfigEntryExplores parent classes in the run-time config for the value of a config entry.
- BIS_fnc_returnParentsReturns list of all parent classes.
- BIS_fnc_subClasses*Same function as BIS_fnc_returnChildren*
- BIS_fnc_uniqueClassesComposes an array of classes with unique param (based on returned value of passed code). If class inherits the param from parent, it's not listed.
- BIS_fnc_unitAddonReturn addon from CfgPatches to which a given object belongs to.