Tweaks to management of hostage/capture assets.

This commit is contained in:
Ghostrider-GRG- 2018-07-29 19:49:46 -04:00
parent 23b9e46543
commit 8353017190
2 changed files with 6 additions and 4 deletions

View File

@ -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;

View File

@ -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;