Black Ops III

SetAttachmentCosmeticVariantIndex

Set the attachment cosmetic variant index for the weapon

Example:

level.weapon_clientscript_cac_model[type] SetAttachmentCosmeticVariantIndex( weaponFullName, level.attachment_names[i], 0 )

Parameters

ParameterSummary
*weaponThe weapon full name
*attachment nameThe attachment name of the weapon
*acviThe attachment cosmetic variant index

* = mandatory