39 — Half health (combat only)
Fires when damage with an attacker credited for it takes the tagged object from at least half its maximum strength to below it.
Editor data
- Numeric ID
39- Engine ID
TEVENT_ENTER_YELLOW- Editor name
- Half health (combat only)
- Need token
NEED_NONE- Parameters
- None
- Attachment
- object
INI example
[Events]
<TriggerID>=1,39,0,0The quarter health line usually takes the blow first
Section titled “The quarter health line usually takes the blow first”When one hit crosses both the half strength line and the quarter health line, only Quarter health (combat only) fires. ConditionRed sets the quarter health line, so it decides which hits are left to this event.
At the built-in ConditionRed of .5, both lines sit at half strength. This event then fires only for a hit that lands while the object is at exactly half its maximum strength, rounded down.
Moving ConditionRed away from .5 leaves this event more hits:
- Below
.5, it fires for a hit that takes the object below half strength but not below theConditionRedline. - Above
.5, it fires for a hit that takes the object below half strength from a strength at or below theConditionRedline.
Caveats
- The line is half the object type's maximum strength, rounded down. [
ConditionYellow](/keys/conditionyellow/) does not move it. - A hit that would take the object to zero strength never fires this event, even when a [cyborg](/keys/cyborg/) survives it.
- This event requires an attacker credited for the damage, whatever the weapon. Damage with no attacker fires only [Half health (any source)](/mapping/events/tevent-enter-yellow-any/).
- On a persistent tag, the event stays marked once satisfied, so the trigger fires on every later offer the tag receives, as [remembering a satisfied event](/systems/trigger-springing/#remembering-a-satisfied-event) describes.