arma2:editor_modules:acm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arma2:editor_modules:acm [2009/06/03 22:43] – added tips. snakeman | arma2:editor_modules:acm [2024/08/01 20:53] (current) – links added. snakeman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ACM ====== | + | ====== |
| + | |||
| + | [[https:// | ||
| **ACM** - **A**mbient **C**ombat **M**odule | **ACM** - **A**mbient **C**ombat **M**odule | ||
| Line 54: | Line 56: | ||
| waitUntil {myFirstACM getVariable " | waitUntil {myFirstACM getVariable " | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ====== Example ====== | ||
| + | |||
| + | Use this example, put it on the mission' | ||
| + | <code cpp> | ||
| + | waitUntil {!isNil {BIS_ACM getVariable " | ||
| + | waitUntil {BIS_ACM getVariable " | ||
| + | |||
| + | //Sets frequency and number of patrols (0-1). BIS_ACM is module name | ||
| + | [1, BIS_ACM] call BIS_ACM_setIntensityFunc; | ||
| + | |||
| + | //min max spawn distance | ||
| + | [BIS_ACM, 300, 600] call BIS_ACM_setSpawnDistanceFunc; | ||
| + | |||
| + | //factions to be spawned | ||
| + | [[" | ||
| + | |||
| + | //Skill range for spawned units | ||
| + | [0, 0.6, BIS_ACM] call BIS_ACM_setSkillFunc; | ||
| + | |||
| + | //Amount of ammo spawned units possess | ||
| + | [0.2, 0.5, BIS_ACM] call BIS_ACM_setAmmoFunc; | ||
| + | |||
| + | //Type of patrol. 1- present, 0- absent | ||
| + | [" | ||
| + | |||
| + | [" | ||
| + | </ | ||
| + | |||
arma2/editor_modules/acm.1244069001.txt.gz · Last modified: 2009/06/03 22:43 (external edit)
