Trying to create a custom event that involves checking my character's inventory for an item

Good day! I’m currently making a small game and I already created a custom end game event where an AI overlaps my thirdperson character and eats them. I created a simple inventory system using arrays and I had my character pick up a weapon and add it to the inventory. The problem im having now is that I don’t know of a way to check my character for having the item and saying then when my character has said item the overlap event will yield a different result besides dying.

Thanks in Advanced

You are using an array so have you tried using the “contains” node? It will return true if the array contains a specified item.

i have not but thank you, i’ll try it now