Blueprint actor forces player to interact with last instance of bp placed before interacting with other instances.
I've created this blueprint that checks to see if a player is overlapping its collision component and if the player overlaps the component then they are able to pick up the blueprint/object in the game. That works fine but the problem occurs when i place more than one instance of that blueprint into the game world and as i overlap the component of one of the blueprints at random, i am not able to pick up the object, instead i am forced to look for the last placed instance of that blueprint and upon finding an picking up that last instance, i would have to find the second last instance placed which becomes the last placed instance and this goes on until there is no instance of that blueprint left in the world. Any help would be very much appreciated. Thanks in advance. Link to the problem shown on video: https://www.youtube.com/watch?v=dPY3gXhX2R4
Part of the issue maybe the setup in Screenshot #3. You are destroying the Stone Pickup bp and then attempting to cast to the character and set variables afterwards. Once an actor is destroyed, anything after that node will not be executed. Try moving the Destroy Actor to the end of that execution string.
If that doesn't correct the issue, could you provide a small test version and I'll see if I can dig into it a bit more.
answered Dec 20 '16 at 09:25 PM
TJ V ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here