Ambient Combat Manager - Functions

From Bohemia Interactive Community
Revision as of 16:04, 6 June 2009 by Joris (talk | contribs) (List of all functions available for the Ambient Combat Manager.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.