getBleedingRemaining: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|gr1= Object Manipulation
|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.
|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
|s1= [[getBleedingRemaining]] unit


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


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


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


| [[isBurning]], [[setBleedingRemaining]], [[isBleeding]]
|seealso= [[isBurning]] [[setBleedingRemaining]] [[isBleeding]]
 
|  |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>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[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