damage

From Bohemia Interactive Community
Revision as of 21:12, 1 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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