damage

From Bohemia Interactive Community
Revision as of 10:52, 16 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

Description:

Object damage in range 0 to 1.

Note: This function is identical to getDammage.


Example:

? ((damage player) > 0.3) : hint "Ouch!!"