getBleedingRemaining: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - " {3,}\|" to " |")
Line 14: Line 14:


| [[Number]]
| [[Number]]


|x1= <code>_bleedingRemaining = [[getBleedingRemaining]] _unit;
|x1= <code>_bleedingRemaining = [[getBleedingRemaining]] _unit;
</code>
</code>


| [[isBurning]], [[setBleedingRemaining]], [[isBleeding]]
| [[isBurning]], [[setBleedingRemaining]], [[isBleeding]]

Revision as of 17:21, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns how many seconds injured unit will continue leaving blood trail. If unit damage is < 0.1, the return value is 0 and unit doesn't leave any blood trail. Use setBleedingRemaining to set different remaining time.
Groups:
Object Manipulation

Syntax

Syntax:
getBleedingRemaining unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
_bleedingRemaining = getBleedingRemaining _unit;

Additional Information

See also:
isBurningsetBleedingRemainingisBleeding

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