How to make helpful AI

i probably cant explain the whole thing right now but most people implement picking up an item by actually storing a variable in an array or set to indicate that the player has the item, and destroying the item’s actor from the world. so the item actor is gone but the player says “I have the item”.
You dont put the actor itself into the array, because it will disappear from the array when you destroy it in the world. Instead you add a number or enum named after the item, or a struct or other non-actor object. Enum is probably best for you at your stage of ability and lots of pro games do it that way.

if the item is not an inventory thing and is just health or ammo or something the player always has in a certain amount, then your life just got simpler: Juat destroy the item and add to the player’s current ammo or health.
Before we go furter, how much of the basics do tou know like how to create a blueprint class, how to add to and set variables during the game, how to detect collisions and overlaps, etc?