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()
.
Sender
The thing that was damaged.
Source
The thing (EG, projectile) that did the damage.
Sender Type
Thing (3).
Source Type
Thing (3).
Param0
The amount of damage.
Param1
The damage's flag.
Param2
None.
Param3
None.
Related:
DamageThing()