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

Add ace_medical "HandleDamage" EH index #5385

Closed
wants to merge 4 commits into from
Closed

Add ace_medical "HandleDamage" EH index #5385

wants to merge 4 commits into from

Conversation

pixlcrashr
Copy link

The purpose is to allow modifying the ace_medical "HandleDamage"-system more easily instead of removing all available eventhandlers and reassigning them.

Changed lines:

  • addons\medical\XEH_init.sqf, line 4

The purpose is to allow modifying the ace_medical "HandleDamage" system more easily instead of removing all available eventhandlers and reassign them.
@pixlcrashr pixlcrashr changed the title Added ace_medical "HandleDamage" EH index Add ace_medical "HandleDamage" EH index Jul 25, 2017
@commy2
Copy link
Contributor

commy2 commented Jul 25, 2017

Doesn't work. There exist a variable for every unit. You would have to store it in object namespace and not global namespace.

Copy link
Contributor

@commy2 commy2 left a comment

Choose a reason for hiding this comment

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

Not functional.

@pixlcrashr
Copy link
Author

@commy2 Ups. I didnt know that yet. I changed it in 3a18469

@@ -2,7 +2,10 @@

params ["_unit"];

_unit addEventHandler ["HandleDamage", {_this call FUNC(handleDamage)}];
_unit setVariable [
GVAR(HandleDamageEVHIndex),
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably want to use QGVAR and not just GVAR

@pixlcrashr
Copy link
Author

Changed GVAR to QGVAR

@pixlcrashr
Copy link
Author

#push what about that request now?

@commy2
Copy link
Contributor

commy2 commented Jan 2, 2018

Merge conflict.

@commy2 commy2 self-assigned this Jan 2, 2018
commy2 added a commit that referenced this pull request Jan 2, 2018
commy2 added a commit that referenced this pull request Jan 2, 2018
@commy2
Copy link
Contributor

commy2 commented Jan 2, 2018

I put this in medical-rewrite, but renamed the variable to HandleDamageEHID for consistency.

@commy2 commy2 closed this Jan 2, 2018
@commy2 commy2 added this to the Medical Rewrite milestone Jan 2, 2018
@commy2
Copy link
Contributor

commy2 commented Jan 2, 2018

ref: 6520fdb
ref: 306c449

BaerMitUmlaut pushed a commit that referenced this pull request Aug 5, 2019
BaerMitUmlaut pushed a commit that referenced this pull request Aug 5, 2019
@PabstMirror PabstMirror modified the milestones: Medical Rewrite, 3.13.0, 3.13.0-temp3 Dec 30, 2019
@PabstMirror PabstMirror modified the milestones: 3.13.0-temp3, 3.13.0 Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Release Notes: **ADDED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants