Ambient Combat Manager - Group types: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Arma 2: Editing" to "{{GameCategory|arma2|Editing}}") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 9: | Line 9: | ||
{{Informative | See [[:Category:CfgGroups]] for possible group values and config paths.}} | {{Feature | Informative | See [[:Category:CfgGroups]] for possible group values and config paths.}} | ||
Revision as of 00:59, 7 February 2021
By default the ACM will select group types from CfgGroups, but you may want to use only a number of specific group types. You have the possibility of overriding the group type database with your own database, by using two functions.
// You can pass both actual CfgGroups Config entries or class name Strings. [<ACM reference | Object>, <types | Array of Configs and / or Strings>] call BIS_ACM_addGroupClassesFunc;
// Passing an empty types Array will completely disable the custom database and switch back to the default. [<ACM reference | Object>, <types | Array of Configs and / or Strings>] call BIS_ACM_removeGroupClassesFunc;
Rest of the ACM functions: Ambient Combat Manager - Functions