damage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Number]] <nowiki>=</nowiki> '''damage''' | | [[Number]] <nowiki>=</nowiki> '''damage''' [[Object]] |= Syntax | ||
|p1= | |p1= [[Object]] |= Parameter 1 | ||
| [[Number]] - | | [[Number]] - |
Revision as of 09:31, 27 August 2007
Description
- Description:
- Return the damage value of an object.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Number = damage Object
- Parameters:
- 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