Page tree
Skip to end of metadata
Go to start of metadata




Introduced in

Version:3.7

Description

Description:Converts a wound definition into a human-readable string.

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

Syntax

Syntax:wound call fn_vbs_aw_woundToString
Parameters:
  • wound: Wound - Wound array.
Return Value:String - Wound description.

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:Specify wound array:
[5,11,2,[-1,1.81236493587494],0,[]] call fn_vbs_aw_woundToString;
// Returns "Bleeding - projectile, Low caliber gunshot, Left leg"

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes