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