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

Medical - Better handle odd selection/hitpoint names #2819

Merged
merged 2 commits into from
Nov 7, 2015

Conversation

PabstMirror
Copy link
Contributor

Adds a backup method to get the correct selection if the model/uniform is weird.

fix #2768 - VR people have weird hitpoint selection names:

class HitHead: HitHead {
    name = "hitHead";

Seems to fix odd RHS uniforms (eg, this guy could not take damage from headshots):

bob = group player createUnit ["B_soldier_F", Position player, [], 0, "FORM"];
bob addUniform "rhs_uniform_cu_ucp";

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Nov 4, 2015
@PabstMirror PabstMirror added this to the 3.4.0 milestone Nov 4, 2015
thojkooi added a commit that referenced this pull request Nov 7, 2015
Medical - Better handle odd selection/hitpoint names
@thojkooi thojkooi merged commit caa36aa into master Nov 7, 2015
@thojkooi thojkooi deleted the medicalTranslateHitpoints branch November 7, 2015 10:06
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.

virtual arsenal guys have bad hitpoints
2 participants