damage

From Bohemia Interactive Community
Revision as of 05:44, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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