Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookoff - Improve destroying vehicle post cookoff #9029

Merged
merged 3 commits into from
Jun 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/cookoff/functions/fnc_cookOff.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
};

Expand Down
6 changes: 1 addition & 5 deletions addons/cookoff/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,7 @@
<Spanish>Destruir vehículos tras la detonación inducida por calor</Spanish>
</Key>
<Key ID="STR_ACE_CookOff_destroyVehicleAfterCookoff_tooltip">
<English>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.</English>
<Korean>차량이 쿡오프된 후 파괴할 지에 대한 여부를 제어합니다. 쿡오프에 따라 차량이 폭발하거나 아무런 효과 없이 파괴될 수 있습니다.</Korean>
<Chinesesimp>控制载具是否总是会在殉爆结束后被摧毁。根据殉爆的剧烈程度,载具可能会爆炸,也可能只是被没有效果地摧毁。</Chinesesimp>
<Russian>Всегда ли техника будет уничтожена после детонации. В зависимости от детонации, она может быть взорвана или просто уничтожена без эффектов.</Russian>
<Spanish>Controla si los vehículos serán siempre destruidos despues de la detonación inducida por calor. Dependiendo de esta, el vehículo puede explotar o simplemente puede ser destruido sin efectos.</Spanish>
<English>Controls whether vehicles will always be destroyed after cooking off.</English>
</Key>
<Key ID="STR_ACE_CookOff_enableFire_name">
<English>Enable Cook-Off Vehicle Fire</English>
Expand Down