Skip to content

42 — Half health (any source)

Fires when damage takes the tagged object from at least half its maximum strength to below it, with or without an attacker credited for it.

Editor data
Numeric ID
42
Engine ID
TEVENT_ENTER_YELLOW_ANY
Editor name
Half health (any source)
Need token
NEED_NONE
Parameters
None
Attachment
object
INI example
[Events]
<TriggerID>=1,42,0,0

The quarter health line usually takes the blow first

Section titled “The quarter health line usually takes the blow first”

The quarter health outcome is decided after the half strength one and overwrites it, so a blow that crosses both lines springs Quarter health (any source) and leaves this event untouched. Which blows are left over is settled by ConditionRed.

At its engine default of .5 that setting puts the quarter health line on top of the half strength line, and the only blow that crosses the second without also crossing the first is one that lands while the object stands at exactly half its maximum strength, rounded down. Moving ConditionRed off .5 in either direction separates the two lines and opens a band of strengths in which this event is the one that springs.

Caveats
  • The line is half of the object type's maximum strength, rounded down, and it is fixed in the engine. ConditionYellow names a different threshold and does not move this one.
  • The blow that destroys the object never reaches the event. The half strength outcome is worked out only for a blow the object survives.
  • No blow ever springs both this event and the quarter health one. Damage settles on a single outcome, and the quarter health outcome is decided afterward and replaces this one wherever both apply.
  • A blow that credits an attacker springs the combat-only form first and this one immediately after, so an attacker's hit reaches both forms rather than only the combat-only one.