Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:3.7

Description

Description:Returns the amount of bleeding the specified bleeding effect adds to the unit.

Requires the Advanced Wounding Editor Object to be present in the mission.

Syntax

Syntax:[unit, wound] call fn_vbs_aw_unitGetBleedingAmount
Parameters:
Return Value:Array of Number - [seconds until unconscious, seconds until dead after losing consciousness] (as defined in the CfgAdvancedWounds effect class). Returns -1 if the checked bleeding ID does not exist.

Warning

When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.

Examples

Examples:
_blood = [soldier1,0] call fn_vbs_aw_unitGetBleedingAmount; // mightMight return [600,1800]

Additional Information

See also: fn vbs aw getWoundBleeding, fn vbs aw getBleedingWounds
Multiplayer: 
Problems: 

Notes