Ambient Combat Manager - Functions – Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
(List of all functions available for the Ambient Combat Manager.)
 
No edit summary
Line 11: Line 11:
* ''intensity'': a Scalar between 0.0 and 1.0. 1.0 is the maximum intensity and 0.0 will in effect pause the ACM.
* ''intensity'': a Scalar between 0.0 and 1.0. 1.0 is the maximum intensity and 0.0 will in effect pause the ACM.
* ''ACM reference'': a reference to the ACM object itself, or a reference to any unit in the group the ACM is synchronized to.
* ''ACM reference'': a reference to the ACM object itself, or a reference to any unit in the group the ACM is synchronized to.
A full list of ACM functions can be found in this thread. [http://forums.bistudio.com/showpost.php?p=1294551&postcount=3].

Revision as of 08:27, 8 June 2009

Note: this page is a work-in-progress! More info to follow as soon as possible.

Introduction

This page describes all pre-defined functions available to manipulate the settings of an Ambient Combat Manager (ACM).

Intensity

Not all missions require heavy enemy / friendly presence. The ACM's intensity controls how many patrols can be active at a given time and how frequently patrols are spawned. The intensity can be controlled by using the following function call:

  [<intensity | Scalar>, <ACM reference | Object>] call BIS_ACM_setIntensityFunc;
  • intensity: a Scalar between 0.0 and 1.0. 1.0 is the maximum intensity and 0.0 will in effect pause the ACM.
  • ACM reference: a reference to the ACM object itself, or a reference to any unit in the group the ACM is synchronized to.

A full list of ACM functions can be found in this thread. [1].