Damaged


Damaged is sent by a thing or surface when it is damaged. For an inventory cog to receive the damaged message of the player, the bin must have the 0x10 Inventory Flag. Damaged expects a new damage amount to be returned with ReturnEx().


SenderThe thing or surface that was damaged.
SourceThe thing (EG, projectile) that did the damage.

Sender TypeThing (3) or Surface (6).
Source TypeThing (3).

Param0The amount of damage.
Param1The damage's flag.
Param2None.
Param3None.