Damaged


Damaged is called in an actor, player, or surface's cog when it is damaged. For an inventory cog to recieve the damaged message of the player, the bin must have the 0x10 flag. Damaged expects a new damage amount to be returned with ReturnEx().


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

Sender TypeThing (3).
Source TypeThing (3).

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