Tweaks to management of hostage/capture assets.
This commit is contained in:
parent
23b9e46543
commit
8353017190
@ -454,6 +454,7 @@ while {_missionComplete isEqualTo -1} do
|
||||
if !(alive _assetSpawned) then
|
||||
{
|
||||
_missionComplete = 1;
|
||||
[_assetSpawned] remoteExec["GMS_fnc_clearAllActions",-2, true];
|
||||
} else {
|
||||
|
||||
if (({alive _x} count _blck_AllMissionAI) <= _minNoAliveForCompletion) then
|
||||
@ -467,6 +468,7 @@ while {_missionComplete isEqualTo -1} do
|
||||
{
|
||||
_missionComplete = 1;
|
||||
_assetSpawned allowdamage false;
|
||||
[_assetSpawned] remoteExec["GMS_fnc_clearAllActions",-2, true];
|
||||
};
|
||||
|
||||
};
|
||||
@ -575,7 +577,7 @@ if (_secureAsset && (alive _assetSpawned)) then
|
||||
if (_assetSpawned getVariable["assetType",0] isEqualTo 1) then
|
||||
{
|
||||
//diag_log "Processing Mission End for Hostage Rescue";
|
||||
_assetSpawned setCaptive false;
|
||||
//_assetSpawned setCaptive false;
|
||||
_assetSpawned setVariable["GMSAnimations",[""],true];
|
||||
[_assetSpawned,""] remoteExec["switchMove",-2];;
|
||||
uiSleep 0.1;
|
||||
@ -610,4 +612,4 @@ if (blck_debugLevel > 2) then {diag_log format["[blckeagls] missionSpawner:: (50
|
||||
#endif
|
||||
diag_log format["_fnc_missionSpawner (643) Mission Completed | _cords %1 : _markerClass %2 : _aiDifficultyLevel %3 _markerMissionName %4",_coords,_markerClass,_aiDifficultyLevel,_markerMissionName];
|
||||
blck_missionsRun = blck_missionsRun + 1;
|
||||
diag_log format["_fnc_missionSpawner (644): Total Dyanamic Land and UMS Run = %1", blck_missionsRun];
|
||||
diag_log format["_fnc_missionSpawner (644): Total Dyanamic Land and UMS Run = %1", blck_missionsRun];
|
||||
|
@ -1,6 +1,6 @@
|
||||
private ["_version","_versionDate"];
|
||||
blck_version = "6.84 Build 147";
|
||||
blck_version = "6.84 Build 148";
|
||||
_blck_version = blck_version;
|
||||
_blck_versionDate = "7-21-18 5:00 PM";
|
||||
_blck_versionDate = "7-29-18 8:00 PM";
|
||||
blck_pvs_version = _blck_version;
|
||||
publicVariable blck_pvs_version;
|
||||
|
Loading…
Reference in New Issue
Block a user