damage

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Operation Flashpoint version 1.5Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.5

Description

Description:
Return the damage value of an object.

Syntax

Syntax:
Number = 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

Multiplayer:
-
See also:
setDamage, setDammage, getDammage, setHit

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Google Ads