Why is this not working?

I’m trying to make a witcher3-like system where you have a character list menu and every time you interact with a new character the game adds it to the list
as far as I understand this should work right?

if anyone can tell me what I’m doing wrong any help would be appreciated

1 Like

Hey @MVZIN_771! Welcome to the forums!

Yes it looks like your NPC is set up. But how are you getting your “Actor” variable on your widget? Where is that being set up? Basically, how does it know which actor to check for name?

Try adding a “PrintString” on the “CastFailed” execution line of the “Cast to NPC” so you can test that the cast is working. If Actor isn’t set, it will fail the cast.

1 Like