|
@@ -6,6 +6,8 @@ if!(local _target) exitWith {
|
|
diag_log format["[RD501][Shield] Unable to create shield on '%1' :: It is not local", _target];
|
|
diag_log format["[RD501][Shield] Unable to create shield on '%1' :: It is not local", _target];
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+_target allowDamage false;
|
|
|
|
+
|
|
diag_log format["[RD501][Shield] Creating shield for '%1'", _target];
|
|
diag_log format["[RD501][Shield] Creating shield for '%1'", _target];
|
|
private _className = typeOf _target;
|
|
private _className = typeOf _target;
|
|
private _config = configFile >> "CfgVehicles" >> _className;
|
|
private _config = configFile >> "CfgVehicles" >> _className;
|