mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Updated parameterization in Zeus module.
This commit is contained in:
parent
275b0c4300
commit
13b7e7ae72
@ -19,11 +19,11 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_logic","_removeAddons","_numCfgs","_cfg","_requiredAddon"];
|
||||
private ["_removeAddons", "_numCfgs", "_cfg", "_requiredAddon"];
|
||||
|
||||
if !(isClass (configFile >> "ACE_Curator")) exitWith { ERROR("The ACE_Curator class does not exist") };
|
||||
|
||||
_logic = _this select 0;
|
||||
params ["_logic"]
|
||||
_removeAddons = [];
|
||||
|
||||
_numCfgs = count (configFile >> "ACE_Curator");
|
||||
@ -36,7 +36,7 @@ for "_n" from 0 to (_numCfgs - 1) do {
|
||||
if !(isClass (configFile >> "CfgPatches" >> _x)) exitWith {
|
||||
_removeAddons pushBack (configName _cfg);
|
||||
};
|
||||
} forEach _requiredAddon;
|
||||
} forEach _requierdAddon;
|
||||
};
|
||||
|
||||
if (isText _cfg) then {
|
||||
|
@ -15,8 +15,9 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
PARAMS_3(_logic,_units,_activated);
|
||||
private ["_mouseOver","_unit","_captive"];
|
||||
private ["_mouseOver", "_unit", "_captive"];
|
||||
|
||||
params ["_logic", "_units", "_activated"];
|
||||
|
||||
if !(_activated && local _logic) exitWith {};
|
||||
|
||||
|
@ -15,8 +15,9 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
PARAMS_3(_logic,_units,_activated);
|
||||
private ["_mouseOver","_unit","_surrendering"];
|
||||
private ["_mouseOver", "_unit", "_surrendering"];
|
||||
|
||||
params ["_mouseOver", "_units", "_surrendering"];
|
||||
|
||||
if !(_activated && local _logic) exitWith {};
|
||||
|
||||
|
@ -15,8 +15,9 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
PARAMS_3(_logic,_units,_activated);
|
||||
private ["_mouseOver","_unit","_conscious"];
|
||||
private ["_mouseOver", "_unit", "_conscious"];
|
||||
|
||||
params ["_logic", "_units", "_activated"];
|
||||
|
||||
if !(_activated && local _logic) exitWith {};
|
||||
|
||||
|
@ -15,10 +15,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_logic", "_units", "_activated"];
|
||||
_logic = _this select 0;
|
||||
_units = _this select 1;
|
||||
_activated = _this select 2;
|
||||
params ["_logic", "_units", "_activated"];
|
||||
|
||||
if !(_activated) exitWith {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user