getBleedingRemaining: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________


| 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.|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.|DESCRIPTION=
____________________________________________________________________________________________


| '''getBleedingRemaining''' unit |SYNTAX=
| '''getBleedingRemaining''' unit |SYNTAX=
Line 22: Line 19:
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[isBurning]], [[setBleedingRemaining]], [[isBleeding]] |SEEALSO=  
| [[isBurning]], [[setBleedingRemaining]], [[isBleeding]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:20, 17 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

Notes

Bottom Section