Based on the ShooterGame example project I am trying to switch one of the variables on the players weapon in-game via a box trigger. I have exposed the variables I want in C++ for the weapon and can quite happily trigger the changes in the actual WeapGun blueprint directly, however whenever I try to trigger those changes from outside of the WeapGun blueprint nothing happens.
I have tried using a custom event in the WeapGun blueprint fired off by a new variable referencing WeapGun_C in the triggers blueprint, but it does not seem to fire.
I presume it’s because the weapon is not physically spawned into the level as a separate object but is in the players hands? Which method should I be using to set the variable in the 2nd screenshot from outside of the weapon blueprint when it is the gun the player is carrying?
Not at all! I think the title got edited by moderators so as to be more clear as to what I was wasking, perhaps that reset the accepted status? It’s still showing as accepted for me and resolved. Hope it is for you too now. Thanks again for the help