Why isn't my sound cue working?

This is just a repeat of a question I asked yesterday, but someone asked for clearer pictures and I had to redo the question.

I am trying to make it so that when the player touches this object, the a sound plays and slowly fades away after a certain amount of time

232455-audiocollectablecode.png

232524-soundcuecode3.png

Forgot to mention that it isn’t even printing the first string

Why are you casting to the third person character? Are you calling this sound inside of that characters blueprint? If so I would just get actor location on self and play it there before the destroy.

I solved it.

I put a box collision around the item and set the event type to EventActorBeginOverlap.

I set the overlapped actor as the box collision and the actor to overlap as the third person character by casting to it. After this adjustment, it works fine now.