Black Ops III

GetWeaponOptic

Gets the weapon optic attachment name

Example:

attachmentName = player GetWeaponOptic( weapon )

Parameters

ParameterSummary
*weaponWeapon name

* = mandatory