Tested on B_Truck_01_medical_F, which has attendant = 1;.
Injure unit, then tell them to heal themselves via the commanding menu at the truck. Unit heals themselves without triggering HandleHeal.
Description
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
All the service command and EHs don't trigger when a unit heals at a vehicle (which is expected, as it isn't rearm, refuel or repair).
Event Timeline
AISFinishHeal doesn't work in this case at all. I have found that resetting their animation finishes the action and heals them:
[{"dnon_medic" in animationState (_this select 0)}, { [_this select 0, _this select 1, 2] call ace_common_fnc_doAnimation; }, [cursorTarget, cursorTarget call ace_common_fnc_getDefaultAnim], 5] call CBA_fnc_waitUntilAndExecute;
EDIT: It ignores the healing condition for not being in water too.
How do you order unit to heal themselves from vehicle, all I get is 'treat self' and that works fine when you order it and unit uses medkit, triggers handle heal
Spawn HEMTT Medical and injured subordinate in your team, order to heal themselves from vehicle:
F2 → 6 → Treat at HEMTT Medical
(or download this repro scenario)
systemChat message in HandleHeal did not work, on success there will be a message
As far as I have been able to test in 2.17.152062, this now works as advertised.
Thank you very much!