damage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:


[[Number]]
[[Number]]
'''Compatibility:'''
Added in version '''1.50'''


'''Description:'''
'''Description:'''

Revision as of 00:16, 17 April 2006

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