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

Disable cookoff on RCWS turrets #5605

Merged
merged 4 commits into from
Nov 30, 2017
Merged

Disable cookoff on RCWS turrets #5605

merged 4 commits into from
Nov 30, 2017

Conversation

PabstMirror
Copy link
Contributor

Fix #5557

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Oct 10, 2017
@PabstMirror PabstMirror added this to the Ongoing milestone Oct 10, 2017
@PabstMirror PabstMirror requested a review from commy2 October 10, 2017 18:06
@@ -71,6 +71,7 @@ if (_simulationType == "tank") exitWith {
};
} else {
if (_hitpoint in ["hithull", "hitturret", "#structural"] && {_newDamage > 0.6 + random 0.3}) then {
if ((_hitpoint == "hitturret") && {(getText (_vehicle call CBA_fnc_getObjectConfig >> QGVAR(rcwsTurret))) == 1}) exitWith {}; // ignore RCWS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getText -> getNumber?

@jonpas
Copy link
Member

jonpas commented Nov 12, 2017

Add to doc?

 Conflicts:
	addons/cookoff/functions/fnc_handleDamage.sqf
@PabstMirror PabstMirror merged commit b86ef91 into master Nov 30, 2017
@PabstMirror PabstMirror deleted the rcwsCookoff branch November 30, 2017 23:07
@PabstMirror PabstMirror mentioned this pull request Apr 23, 2018
BaerMitUmlaut pushed a commit that referenced this pull request Aug 5, 2019
* Disable cookoff on RCWS turrets

* getNumber

* Change config name, add doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants