unit damaged

  1. Setokaiva

    (1.31) Custom script: "Any unit takes damage" event

    The recent patch to 1.31 had, in the notes, a reference to new capability for custom scripts to detect when any unit is damaged for a trigger event. Does anyone know how exactly I would write such an event in custom script?