40 — Quarter health (combat only)
Fires when damage with an attacker credited for it takes the tagged object below the condition red fraction of its maximum strength.
Editor data
- Numeric ID
40- Engine ID
TEVENT_ENTER_RED- Editor name
- Quarter health (combat only)
- Need token
NEED_NONE- Parameters
- None
- Attachment
- object
INI example
[Events]
<TriggerID>=1,40,0,0The line is ConditionRed of the object type’s maximum strength, so the quarter in the name holds only where that setting is written as .25. The same setting decides how much room the half strength events are left.
A cyborg soldier that survives a killing hit on its stumps always springs the event, whatever strength it was standing at when the hit landed. That reprieve reports itself as this crossing in place of a destruction, so a trigger watching for the soldier’s death sees this event instead.
Caveats
- The line is not a quarter. It is the
ConditionRedfraction of the object type's maximum strength, which the engine defaults to one half. - The blow that destroys the object does reach the event. Damage is first clipped to the strength the object had left, so a fatal hit from above the line counts as crossing it, and the event springs on that blow ahead of the destruction events.
- A blow that crosses both this line and the half strength line springs this event and not the half strength one.
- The combat-only qualification describes the attribution rather than the weapon. It means an attacker was credited for the damage, and damage that credits none reaches only the any-source form.