Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
damage - OFPEC Scripting Command Reference | OFPEC The Editing Center

damage object

Operand types

object: Object

Type of returned value

Description

Object damage in range 0 to 1.
Note: This function is identical to getDammage.

Used In

OFP/ArmA

Example

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

Advertisement