damage

From Bohemia Interactive Community
Revision as of 12:56, 2 August 2006 by Hardrock (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Return the damage value of an object.
Groups:
Uncategorised

Syntax

Syntax:
damage object
Parameters:
object: Object
Return Value:
Number - The returned number is in range 0 (healthy) to 1 (dead).

Examples

Example 1:
? ((damage player)>0.1) : player groupChat "I'm hurt! Medic!"

Additional Information

See also:
setDamage

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section