back to COMREF
damage anything
Operand types:
object: Object
Type of returned value:
Number
Compatibility:
Added in version 1.50
Description:
Object damage in range 0 to 1.
Note: This function is identical to getDammage.
Example:
? ((damage player) > 0.3) : hint "Ouch!!"