Cannot pickup more than one item in third person bp?
Hi, I am fairly new using blueprints. So I have made a blueprint class actor (health pickup) and a widget that detects when my character is colliding with it, when I press the E key when i'm near the item my widget pops up with two buttons (button 1 takes the item) (button 2 doesn't take the item) This works perfectly for the very first item.. however if i have multiple items in my level it will only pick them up in the order I place them.. it will not detect the specific one I am colliding with and will only pick them up in a certain order. I understand I need to tag them somehow so the engine knows which actor class I am colliding with.. I just don't know what I am needing to search for a tutorial or how to solve this. I have searched google and youtube for a similar problem and I have not found anything relating to a third person blueprint game as a lot of tutorials are recommending a line trace type thing which I understand isn't ideal for third person. Any ideas?
You got me interested so I gave it a try. Had a bit of problem with destroying the item once I clicked Yes but (somehow) I managed to overcome this issue. I'm just clearing the blueprint graphs now.
I will post images shortly.
I'm learning blueprints too, so I won't say this is the best/right way of doing it. Please do correct me if you think I'm doing something wrong! :)
You don't want to create new widget every time you do this so instead just hide it after use and bring it up again when you need it.
Short video below, so you can see how it works for me. Is this what you wanted?
Follow this question
Once you sign in you will be able to subscribe for any updates here