Certain units will return hitpoint names that do not reflect the hitpoint when wearing commonor clothes tricolor.
So far I have confirmed this with Syndicat units: Dealer (Rifle) and Snatcher (Medikit).
Description
Description
Details
Details
- Severity
- Trivial
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Operating System Version
- Version 10.0.17134 Build 17134
- Category
- Personal Protection Armor
Steps To Reproduce
Create a new editor scenario.
Place a unit for the player.
Place any unit of those reported to be displaying issues. Currently: Dealer (Rifle) and Snatcher (Medikit).
Place another of the same unit, but change the uniform of this one to Commoner Clothes Tricolor.
Add to the init of both units:
this addEventHandler ["HandleDamage", { params ["_unit","_bodyPart","_amountOfDamage","_killer","_projectile","_hitIndex","_instigator","_hitPoint"]; systemChat (format ["HitPoint: %1. Hit Name: %2",_hitPoint,_bodyPart]); }];
Proceed to shoot each unit, comparing the listed hitPoint with the listed bodyPart.
Additional Information
Trivial status since it is highly unlikely that scenarios will involve these specific units wearing this specific, and rather unflattering, civilian uniform.
However, can cause issues with systems that rely on correct relaying of hitpoint and hitpart.