Ambient Combat Manager - Group types: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Arma 2: Editing" to "{{GameCategory|arma2|Editing}}")
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.}}





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;


See Category:CfgGroups for possible group values and config paths.


Rest of the ACM functions: Ambient Combat Manager - Functions