Introduced in

Version:3.7

Description

Description:Returns a list of treatments IDs that have to be performed to fully heal the specified wound.

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

Syntax

Syntax:wound call fn_vbs_aw_getWoundTreatments
Parameters:
  • wound: Wound - Wound definition to evaluate.
Return Value:Array - IDs of required treatments.

Alternative Syntax

Syntax:[type, bodypart, severity] call fn_vbs_aw_getWoundTreatments
Parameters:
Return Value:Array with IDs of required treatments.

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:
_treats = [5,11,2,[-1,1.22],0,[]] call fn_vbs_aw_getWoundTreatments
_treats = [5,2,11] call fn_vbs_aw_getWoundTreatments

Additional Information

See also: fn vbs aw getBleedingWounds, fn vbs aw getWounds, fn vbs aw unitRemoveBleeding
Multiplayer: 
Problems: 

Notes