|Description:||Applies a wound to a unit.|
Requires the Advanced Wounding Editor Object to be present in the mission.
|Syntax:||[unit, type, severity, bodypart, [overallDamage, localDamage, applyDamage]] call fn_vbs_aw_addWound|
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.
[soldier1,5,0,2,[-1,-1]] call fn_vbs_aw_addWound
[soldier1,"BleedProjectile","Severe","Head",[-1,-1]] call fn_vbs_aw_addWound
|See also:||fn vbs aw getBleedingWounds, fn vbs aw hasWound, fn vbs aw getWoundTreatments|