Weapon Upgrade System Problems
Hello, I've been stuck on this for about a week and for some reason I can't get a weapon upgrade system working within a game mode I've been working on. I initially used a blueprint interface component but the integar was just being saved locally to both the Character and the Upgrade Pickup instead of being stored within the blueprint interface itself.
So I thought this other method might've been a better way to do it but for some reason I can't get it to work.
Basically I have a class blueprint that when picked up I want it to call a function on MyCharacter which will upgrade their weapon.
This is the function that I have on MyCharacter which I want to call
This is the blueprint I have which is a pickup I've made and in theory it should call the upgrade gun function on MyCharacter but for some reason it isn't :(
Any help would be greatly appreciated as I'm totally lost as to why the function isn't getting called.
asked Oct 13 '14 at 11:29 AM in Blueprint Scripting
Have you tried casting to the other blue print. I have replicated your blue prints and I have a working version(sends print stings updates when a player walks into a volume) in UE 4.5. I have a attached a picture for you to follow.
Note: You will need to drag off the "Other Actor" pin on the overlap event to get the casting option to show up. You will also need to drag off the "As MyCharacter C" pin to get the custom event. Also make sure your blueprints are compiled if you are having trouble pulling up the custom event.
Hope this helps.
answered Oct 17 '14 at 02:38 PM
Rudy Q ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here