IDI-Systems / acre2

Advanced Combat Radio Environment 2 (ACRE2) for Arma 3
https://acre2.idi-systems.com
GNU General Public License v3.0
205 stars 117 forks source link

Possible to use modules via script? #1201

Closed Aebian closed 2 years ago

Aebian commented 2 years ago

Hi all,

This is neither a bug nor an FR, but the docs don't do justice and since the ace3public slack has no channel for acre2 I post here. Is it possible to use ACRE2 modules via scripting?

I tried this and it does not work:

_acre2Group = createGroup sideLogic;
"acre_api_basicMissionSetup" createUnit [[0,0,0], _acre2Group, "this setVariable ['BIS_fnc_initModules_disableAutoActivation', true, true];this setVariable ['DefaultRadio',"",true];this setVariable ['DefaultRadio_Two',"",true];this setVariable ['DefaultRadio_Three',"",true];this setVariable ['DefaultRadio_Four',"",true];"];

Basically what I want is to stop the 343 distribution via scripting.

Arma 3 Version: Using A3 devbranch

Thanks.

Drofseh commented 2 years ago

There is an #acre2 channel in the ace3public slack, you just have to join it

Aebian commented 2 years ago

Ah thanks, I missed that.