x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.21
Tags:
more ▼

asked Feb 12 '19 at 04:37 PM in Blueprint Scripting

avatar image

PerCat
28 1 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question