Hey everyone,
I try to make a pick up system akin to Puppet Combo/Chilla’s Art pick up system. You have an object that you can pick up (not every object is pickable, only a selected few), the picked object is in player character’s ‘hand’ in the right bottom corner, you can use mouse wheel to scroll through the picked items for later use.
I try to do this via Blueprint actor + First Person Character Blueprint since I already have implemented an interaction, dragging, and text comment system and it’s easier for me to understand (though I get it that it might not be the most effective way).
However, I have an issue. I pick up object, it is supposed to be added to an array of actors, however, I cannot scroll through them. Based on print strings, it seems the issue is with accessing and adding actors to the array but I am too inexperience to understand what’s going on.
According to the print string use:
- When the game starts the array shows 1.
- When I pick up the first object the value changes to 3.
- When I pick up the second object - nothing pops up, even though in some configurations I tried it changed to 4, but still didn’t work with the scroll.
Could you help me set these pick up and scroll systems right please?
BP Pickable Actor:
BP FPCharacter: