Trying to bind NPC's info. to HUD?

Hey all!

I’m trying to get an NPC’s information to bind to the HUD so when you click on the NPC you can see their age, name, sex and stuff like that as well as other information.

So far though I can’t get it to work at all and I’m not sure why. The text is supposed to say the NPC’s Name/Title and right now the text is not even visible. Followed a couple tuts. to a t and still haven’t gotten it down. Any clues as to why greatly appreciated.

Here’s my code

EDIT: Solved turns out when you go to bind the hud you are not allowed to rename the “return value” on the return node on your function. Also changed my code around so if someone has a similar issue and this solves it I’m glad but if your having issues randomly pulling variables from an enum.

Use get max number of entries in “enum name” > integer - integer (1) > random integer in range (where max is the result of that) > to byte > drag off that and make it a variable of your enum type.