|Description:||Returns all wounds for a unit.|
Requires the Advanced Wounding Editor Object to be present in the mission.
|Syntax:||[unit, types, bodyparts] call fn_vbs_aw_getWounds|
|Return Value:||Array of Wound|
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.
_wounds = [player] call fn_vbs_aw_getWounds; // Check all wounds
_wounds = [player,] call fn_vbs_aw_getWounds; // Check blood loss (using index)
_wounds = [player,["BloodLoss"]] call fn_vbs_aw_getWounds; // Check blood loss (using string)
_wounds = [player,["BleedProjectile"],[1,4,5] call fn_vbs_aw_getWounds; // Check projectile bleeding in torso and both arms
|See also:||fn vbs aw getBleedingWounds, fn vbs aw hasWound, fn vbs aw getWoundTreatments, fn vbs aw addWound|