Ambient Combat Manager - Group types: Difference between revisions
Jump to navigation
Jump to search
(Added details about cfgGroup values) |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
(15 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
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. | |||
{{cc|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]]; | |||
{{cc|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]]; | |||
{{Feature | Informative | See [[:Category:CfgGroups]] for possible group values and config paths.}} | |||
Rest of the ACM functions: [[Ambient Combat Manager - Functions]] | |||
{{GameCategory|arma2|Editing}} | |||
Latest 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