From 40c8a494e907ffeedc624a445e1a457972a32e82 Mon Sep 17 00:00:00 2001 From: Cyruz143 Date: Tue, 13 Sep 2022 19:10:25 +0100 Subject: [PATCH 1/2] Have vehicle explode when cookoff completes --- addons/cookoff/functions/fnc_cookOff.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/cookoff/functions/fnc_cookOff.sqf b/addons/cookoff/functions/fnc_cookOff.sqf index 5b57b872ade..b9d951e8227 100644 --- a/addons/cookoff/functions/fnc_cookOff.sqf +++ b/addons/cookoff/functions/fnc_cookOff.sqf @@ -75,7 +75,7 @@ if (_smokeDelayEnabled) then { [_pfh] call CBA_fnc_removePerFrameHandler; if (GVAR(destroyVehicleAfterCookoff) || _detonateAfterCookoff) then { - _vehicle setDamage [1, _detonateAfterCookoff]; + _vehicle setDamage [1, true]; }; }; From 3154c686d33c4c9e05e19d2bff8baf90d970ed0c Mon Sep 17 00:00:00 2001 From: Cyruz143 Date: Tue, 13 Sep 2022 19:24:38 +0100 Subject: [PATCH 2/2] Adjust strings --- addons/cookoff/stringtable.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/cookoff/stringtable.xml b/addons/cookoff/stringtable.xml index d6d71a0f508..4c655f84f95 100644 --- a/addons/cookoff/stringtable.xml +++ b/addons/cookoff/stringtable.xml @@ -172,9 +172,7 @@ 殉爆发生后摧毁载具 - Controls whether vehicles will always be destroyed after cooking off. Depending on the cookoff, the vehicle may explode or may simply be killed without effects. - 차량이 쿡오프된 후 파괴할 지에 대한 여부를 제어합니다. 쿡오프에 따라 차량이 폭발하거나 아무런 효과 없이 파괴될 수 있습니다. - 控制载具是否总是会在殉爆结束后被摧毁。根据殉爆的剧烈程度,载具可能会爆炸,也可能只是被没有效果地摧毁。 + Controls whether vehicles will always be destroyed after cooking off. Enable Cook-Off Vehicle Fire