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
|
if !(alive _assetSpawned) then
|
||||||
{
|
{
|
||||||
_missionComplete = 1;
|
_missionComplete = 1;
|
||||||
|
[_assetSpawned] remoteExec["GMS_fnc_clearAllActions",-2, true];
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (({alive _x} count _blck_AllMissionAI) <= _minNoAliveForCompletion) then
|
if (({alive _x} count _blck_AllMissionAI) <= _minNoAliveForCompletion) then
|
||||||
@ -467,6 +468,7 @@ while {_missionComplete isEqualTo -1} do
|
|||||||
{
|
{
|
||||||
_missionComplete = 1;
|
_missionComplete = 1;
|
||||||
_assetSpawned allowdamage false;
|
_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
|
if (_assetSpawned getVariable["assetType",0] isEqualTo 1) then
|
||||||
{
|
{
|
||||||
//diag_log "Processing Mission End for Hostage Rescue";
|
//diag_log "Processing Mission End for Hostage Rescue";
|
||||||
_assetSpawned setCaptive false;
|
//_assetSpawned setCaptive false;
|
||||||
_assetSpawned setVariable["GMSAnimations",[""],true];
|
_assetSpawned setVariable["GMSAnimations",[""],true];
|
||||||
[_assetSpawned,""] remoteExec["switchMove",-2];;
|
[_assetSpawned,""] remoteExec["switchMove",-2];;
|
||||||
uiSleep 0.1;
|
uiSleep 0.1;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
private ["_version","_versionDate"];
|
private ["_version","_versionDate"];
|
||||||
blck_version = "6.84 Build 147";
|
blck_version = "6.84 Build 148";
|
||||||
_blck_version = blck_version;
|
_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;
|
blck_pvs_version = _blck_version;
|
||||||
publicVariable blck_pvs_version;
|
publicVariable blck_pvs_version;
|
||||||
|
Loading…
Reference in New Issue
Block a user