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 "[[Category:Arma_2:_Editing") |
Lou Montana (talk | contribs) (Remove CfgGroups entries) Tag: Replaced |
||
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]]; | |||
{{Informative | See [[:Category:CfgGroups]] for possible group values and config paths.}} | |||
Rest of the ACM functions: [[Ambient Combat Manager - Functions]] | |||
[[Category:Arma 2: Editing]] | |||
Revision as of 01:13, 3 June 2020
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