Locations at the top of the screenshots.

65e508e0ea180068a989b5152259622c.png

High Res Image

Create new function in the BP_PlayerInventoryComponent called Attachments Weight. Create a new input and set the variable type to S_WeaponAttachments
and name the input Attachments. Also add an out put of type float. Shown in image above.

Also create a new local variable called Attachment Weight L and set type to a float.

Inside the function copy the image below. to get the Break S_WeaponAttachments drag out from the Attachments pin and search for break to get the node.

901c2c8f50927ef8eaf6b503cd5c74b4.png

High Res Image

Create a new variable called attachments set to the variable type attachments. and copy the above

31a4e52a144a5083b6c98006a4349da2.jpg

High Res Image

d7e623d02241794dde4a96187d1d5489.jpg

High Res Image

Add the nodes shown in the above image.