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 - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(21 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


|gr1= Object Manipulation |GROUP1=
|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.
____________________________________________________________________________________________


| 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=
|s1= [[getBleedingRemaining]] unit
____________________________________________________________________________________________


| '''getBleedingRemaining''' unit |SYNTAX=
|p1= unit: [[Object]]


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


| [[Number]] |RETURNVALUE=  
|x1= <sqf>_bleedingRemaining = getBleedingRemaining _unit;</sqf>


 
|seealso= [[isBurning]] [[setBleedingRemaining]] [[isBleeding]]
|x1= <code>_bleedingRemaining = [[getBleedingRemaining]] _unit;
</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>
{{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