backup - dklollol/Olsen-Framework-Arma-3 GitHub Wiki
you can add CBA commands to make the A.I. do stuff
[this, this, 100, 1, false] call CBA_fnc_taskDefend;
This line will make the A.I. find a house around the area of 100m and take a foothold in it and won't ever leave. More information
[this, this, 300, 7, "MOVE", "AWARE", "YELLOW", "FULL", "STAG COLUMN", "this spawn CBA_fnc_taskSearchHouse", [3,6,9]] call CBA_fnc_taskPatrol;
This line will set-up random way points for the A.I. to follow. Note that, within this example, they will walk around with weapons raised and run everywhere. More information