Getting Variables from other BP's

In my player script, I have a variable called main weapon, this is set when you pickup a weapon and it is set to the BP of the weapon you picked up (keep in mind that the variable is unknown before runtime). the weapon BPs all have a variable that is a vector (location) of where the camera should go when aiming down sights. I want to receive this variable in the player script at runtime but I haven’t figured out how to yet. Does anyone have any assistance with this problem or better ways to make multiple weapons in first person?

image

You can use the Cast To node :innocent:

Here’s a tutorial on it: