getBleedingRemaining: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 0.50


|0.50|= Game version
|gr1= Object Manipulation
____________________________________________________________________________________________


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


| '''getBleedingRemaining''' unit |SYNTAX=
|s1= [[getBleedingRemaining]] unit


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]]


| [[Number]] |RETURNVALUE=
|r1= [[Number]]


|x1= <sqf>_bleedingRemaining = getBleedingRemaining _unit;</sqf>


|x1= <code>_bleedingRemaining = [[getBleedingRemaining]] _unit;
|seealso= [[isBurning]] [[setBleedingRemaining]] [[isBleeding]]
</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[isBurning]], [[setBleedingRemaining]], [[isBleeding]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:04, 13 May 2022

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:
isBurning setBleedingRemaining isBleeding

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