damage

From Bohemia Interactive Community
Revision as of 00:16, 17 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

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!!"