Open astruyk opened 9 years ago
This almost works - except the mine isn't added to the curator for some reason.
if (isClass (configFile >> "CfgPatches" >> "Ares")) then
{
[
"Spawn",
"APERS Mine",
{
_bomb = "ATMine_Range_Mag" createVehicle (_this select 0);
[[_bomb]] call Ares_fnc_AddUnitsToCurator;
}
] call Ares_fnc_RegisterCustomModule;
};
Unfortunately until I find a way to make the curator-adding work this is blocked.
Current workaround - Have Zeus be on the 'Civilian' side so that mines that are created don't show up for players (presuming they're on Bufor or Opfor).
ACE3 can add minefields in zeus without them showing up for the players. Maybe you can get some code from there.
https://github.com/acemod/ACE3/blob/master/addons/zeus/functions/fnc_bi_moduleMine.sqf
ACE3 simply modifies the BI Zeus module.
Requested multiple times on the forums. It'd be nice to be able to do.