Page MenuHomeFeedback Tracker

Healing action activates only for main damage
New, WishlistPublic

Description

When your soldier is injured and has a first aid kit or a medikit, he can heal himself only if the main damage (queried with the command "damage _unit") is sufficient. Damage to the head, body, arms and legs are not checked, even if the soldier is just about dead in terms of head or body trauma.

The healing action should activate when any hitpoint has enough damage.

Details

Legacy ID
475058655
Severity
None
Resolution
Open
Reproducibility
Always
Category
Health System
Steps To Reproduce

Place a soldier in the editor, write
{this setHit [_x, 0.9]} forEach ["head", "body", "hands", "legs"]
into his init line and you'll have a near-dead and bloody soldier with a first-aid kit with no ability to heal himself.

If you just do
this setDamage 0.9
he'll be able to heal himself.

Event Timeline

Celery edited Steps To Reproduce. (Show Details)Sep 9 2013, 8:27 PM
Celery edited Additional Information. (Show Details)
Celery set Category to Health System.
Celery set Reproducibility to Always.
Celery set Severity to None.
Celery set Resolution to Open.
Celery set Legacy ID to 475058655.May 7 2016, 4:37 PM
Bohemia added a subscriber: AD2001.Sep 9 2013, 8:27 PM