To find the answer to your question, use the search or choose a category to read the related questions.

Print this article   
ACM Example
This example was created for ArmaHolic by DarkXess.

It is to show how simple "Script Snippets" or "Modules" etc are easy to set up for missions makers
by using and showing in the example form in which it was created.

How to use "ACM Example"

First start up the editor, place the ACM Module on the map and sync it to yourself using F5 not F2.

Name the ACM Module "BIS_ACM".

Then all you need to do is make a script called "init.sqf"

and put this inside:

waitUntil {!isNil {BIS_ACM getVariable "initDone"}};
waitUntil {BIS_ACM getVariable "initDone"};

//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
[["USMC", "RU"], BIS_ACM] call BIS_ACM_setFactionsFunc;

//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. With 0 meaning no chance of appearing, and 1 meaning 100% chance. -1 removes patrol type completely.
["ground_patrol", 1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

["air_patrol", 0, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

That all! now wait for WAR to start!

There is much more info on the BIS forums related to this as you can tweak the hell out of it.


DownLoad the ACM Example!
Back To Top
Updated: Sunday 10th of June 2012 10:05 AM,  Asked By: DarkXess,  viewed 2279 times