41 — First damaged (any source)
Fires whenever damage lands on the tagged object while the object stands at maximum strength, with or without an attacker credited for it.
Editor data
- Numeric ID
41- Engine ID
TEVENT_FIRST_DAMAGED_ANY- Editor name
- First damaged (any source)
- Need token
NEED_NONE- Parameters
- None
- Attachment
- object
INI example
[Events]
<TriggerID>=1,41,0,0Caveats
- Nothing records that the object has been hurt before. The test is that it was at its type's maximum strength when the blow landed, so an object repaired to full and hit again springs the event again, as often as that happens.
- The event is offered twice for one blow whenever an attacker is credited. A persistent trigger built on it therefore fires twice in the same frame; a volatile or semi-persistent tag has already come off the object before the second offer, so those two fire once.
- Healing is not damage. A negative figure is applied to the object's strength and the routine returns before any trigger event is reached.
- The crash path an ion storm or an electromagnetic pulse sends an aircraft into springs the event as well, and applies no maximum strength test at all, so an already damaged aircraft reaches it there.