42 — Half health (any source)
Fires when damage takes the tagged object from at least half its maximum strength to below half, whether or not an attacker is credited for the damage.
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,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 half strength and the ConditionRed line, only Quarter health (any source) fires. How often this event can fire therefore depends on ConditionRed.
With ConditionRed at its default of .5, the red line sits at half strength, so almost every hit that crosses half strength also crosses the red line. This event then fires only for a hit that lands while the object is at exactly half its maximum strength, rounded down.
Any other ConditionRed value leaves a range of hits that fire this event:
- Below
.5, the red line is under half strength. A hit fires this event when it starts at or above half strength and ends below half strength but not below the red line. - Above
.5, the red line is over half strength. A hit fires this event when it starts at or above half strength but not above the red line, however far below half it ends, provided the object survives.
Caveats
- The line is half the object type's maximum strength, rounded down. It is fixed in the engine, and
ConditionYellowdoes not move it. - The hit that destroys the object never satisfies the event, even when the object was above half strength before the hit.
- A hit with an attacker credited satisfies this event as well as Half health (combat only). The combat-only event is offered first, and this event is not offered if a trigger fired by that first offer removes the object.