How do I make a collectable that will we added to a collectable menu?

How do I make a collectable that will we added to a collectable menu after you pick it up (Enter a box collision)? In my main menu where my collectable menu will be situate d how will I have a collectable invisible and once you find it in another level it becomes visible?
Thanks.

Here are the general steps to create a collectable item in Unreal Engine:

  1. Create a new Actor class for your collectable item.
  2. Add a Static Mesh Component to the Actor to represent the collectable item in the game world.
  3. Add a Box Collider Component to the Actor to detect when the player comes into contact with the collectable item.
  4. Implement the OnActorBeginOverlap event in the Actor’s blueprint to detect when the player overlaps with the collectable item.
  5. In the OnActorBeginOverlap event, you can add code to make the collectable item invisible and add it to the player’s inventory.
  6. To keep track of the collectables the player has collected, you can use a UMG widget in the main menu to display the collectable menu. You can use an array variable to store the collectables the player has collected and bind it to the UMG widget to display the collectables in the menu.
  7. You can make a collectable item invisible by setting its visibility to false in the Actor’s blueprint.

Note that this is just a general outline, and the exact implementation details will depend on your specific requirements and the tools you are using. If you’re new to Unreal Engine, it might be a good idea to work through some beginner tutorials to get a better understanding of how to create Actors, UMG widgets, and interact with them using blueprints.

2 Likes