ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

TriageCard -> Used Medication Text after PAK/FAK

Open ShuraDE opened this issue 11 years ago • 1 comments

The Triagecard output applied autoinjectors with there count. After using a PAK the applied autoinjectors are still writen on TriageCard.

PAK resets appliedMedic https://github.com/acemod/ACE3/blob/v3.0.1/addons/medical/functions/fnc_treatmentAdvanced_fullHealLocal.sqf#L63 (also in master branch and 3.1 tag)

I checked, Medication are correctly reset. Overdose works correctly after using PAK

Triagecard get's the info from a own array [QGVAR(triageCard), []]; https://github.com/acemod/ACE3/blob/master/addons/medical/functions/fnc_displayTriageCard.sqf#L45

Solution maybe: fullHeal dont clear this array https://github.com/acemod/ACE3/blob/master/addons/medical/functions/fnc_treatmentAdvanced_fullHealLocal.sqf

Like: reset of [QGVAR(allUsedMedication), []] on fullHeal

ShuraDE avatar Jun 17 '15 18:06 ShuraDE

Will need to determine if we want to remove the complete history for medication or not.

We probably should, as a full heal means that all medication in the system will be removed.

Will pick up for 3.7.0.

thojkooi avatar Jun 15 '16 11:06 thojkooi