getBleedingRemaining: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>") |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 0.50 | |||
| | |gr1= Object Manipulation | ||
| | |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. | ||
| | |s1= [[getBleedingRemaining]] unit | ||
| | |p1= unit: [[Object]] | ||
| | |r1= [[Number]] | ||
| | |x1= <sqf>_bleedingRemaining = getBleedingRemaining _unit;</sqf> | ||
|seealso= [[isBurning]] [[setBleedingRemaining]] [[isBleeding]] | |||
| | |||
}} | }} | ||
Latest revision as of 11:04, 13 May 2022
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:
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