IED to zeus unfortunately doesn't work

This commit is contained in:
Wyqer 2019-06-25 19:40:28 +02:00
parent 16535ddfae
commit 461682cc1a
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
3 changed files with 2 additions and 13 deletions

View File

@ -28,12 +28,7 @@ if (!(isnull _roadobj)) then {
_ied_obj = createMine [_ied_type, _roadpos getPos [_spread, random (360)], [], 0];
_ied_obj setdir (random 360);
if (KP_liberation_asymmetric_debug > 0) then {
private _text = format ["[KP LIBERATION] [ASYMMETRIC] manage_asymIED.sqf -> IED %1 spawned at %2", _count, markerText _sector];_text remoteExec ["diag_log",2];
{
[_x, [[_ied_obj], true]] remoteExecCall ["addCuratorEditableObjects", 2];
} forEach allCurators;
};
if (KP_liberation_asymmetric_debug > 0) then {private _text = format ["[KP LIBERATION] [ASYMMETRIC] manage_asymIED.sqf -> IED %1 spawned at %2", _count, markerText _sector];_text remoteExec ["diag_log",2];};
while {(_sector in KP_liberation_asymmetric_sectors) && (mineActive _ied_obj) && !_goes_boom} do {
_nearinfantry = ((getpos _ied_obj) nearEntities ["Man", _activation_radius_infantry]) select {side _x == GRLIB_side_friendly};

View File

@ -34,12 +34,7 @@ if (!(isnull _roadobj)) then {
_ied_obj = createMine [_ied_type, _roadpos getPos [_spread, random 360], [], 0];
_ied_obj setdir (random 360);
if (KP_liberation_asymmetric_debug > 0) then {
private _text = format ["[KP LIBERATION] [ASYMMETRIC] ied_manager.sqf -> IED %1 spawned at %2", _number, markerText _sector];_text remoteExec ["diag_log",2];
{
[_x, [[_ied_obj], true]] remoteExecCall ["addCuratorEditableObjects", 2];
} forEach allCurators;
};
if (KP_liberation_asymmetric_debug > 0) then {private _text = format ["[KP LIBERATION] [ASYMMETRIC] ied_manager.sqf -> IED %1 spawned at %2", _number, markerText _sector];_text remoteExec ["diag_log",2];};
while {_sector in active_sectors && mineActive _ied_obj && !_goes_boom} do {
_nearinfantry = ((getpos _ied_obj) nearEntities ["Man", _activation_radius_infantry]) select {side _x == GRLIB_side_friendly};

View File

@ -180,7 +180,6 @@ class Missions
* Tweaked: Changes in elite vehicles in presets are now also applied during a running campaign.
* Tweaked: Player lead squads are now also saved near FOBs. (but still needs to be reassigned via zeus after load, of course)
* Tweaked: Weather is now only handled by the server.
* Tweaked: IEDs placed via mission scripts are now added to Zeus, if asymmetric debug is enabled.
* Fixed: Intel value could get corrupted if leaving the secondary dialog directly after starting a mission.
* Fixed: "All is red" for first player after a server restart. (just a visual bug, doesn't affect gameplay)