|Description:||Checks if the two wounds are the same.|
Only the type of wound, the body part and severity are compared. Damage, bleeding effect and treatments are not considered.
Requires the Advanced Wounding Editor Object to be present in the mission.
|Syntax:||[wound1, wound2] call fn_vbs_aw_compareWounds|
|Return Value:||Boolean - If true, then the wound properties are the same.|
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.
_wound1 = ([soldier1] call fn_vbs_aw_getWounds) select 0; // Get the 1st wound _wound2 = ([soldier2] call fn_vbs_aw_getWounds) select 0; // Get the 2nd wound _diff = [_wound1,_wound2] call fn_vbs_aw_compareWounds; // And compare them
|See also:||fn vbs aw getBleedingWounds, fn vbs aw getWounds|