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"

How make Hint when im look at interact object?

Hello. I have some interactive object (like in this lesson http://www.youtube.com/watch?v=WwfsWr4A894&list=PLZlv_N0_O1gaG5BW72It4chjhypxIO9ZB∈dex=33) in my level. Me need make appearing Hint in myHUD when im looking on object, and hide hint when dont look at the definite distantion, example 150 or 200. This is FPS project. Hint text must get from Interact object. Can you make tutorial? P.S. Sorry my bad english

Product Version: Not Selected
Tags:
more ▼

asked Jun 30 '14 at 10:42 PM in Blueprint Scripting

avatar image

DcDenton
51 3 8 8

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

I have a working solution to your problem.You need to create a blueprint interface. Name it "Interaction Interface". Add this to your character, HUD and object blueprints so they can communicate with each other. The process works like this:

  1. You'll trace a line from the point of the camera for a certain distance (for visibility channel).

  2. When the line collides with an inventory object, your character will send a blueprint interface message to that object and ask its name. This ensures that no message will be displayed if the object you're looking at is not an interaction object.

  3. The object will send a blueprint interface message and tell its name to the character.

  4. The character will tell the HUD the name.

  5. The HUD will draw the name under the crosshair.

Would this be enough for you to figure it out on your own, or would you need some screenshots?

more ▼

answered Sep 16 '14 at 10:44 PM

avatar image

alperenakyuz
2k 62 23 110

avatar image Thorux06 Feb 19 '15 at 02:25 AM

I want to do that as well, but tutorial didn't help me so could you send some screenshots anyway, please.

(comments are locked)
10|2000 characters needed characters left

Thx. But im solved this question time ago. And now making video tutorial. You can watch my tutorial on my Youtube channel http://www.youtube.com/channel/UCy8QuqXPa9F_rUjcg62Ojvw And subscribe on my feed for make money for my project.

more ▼

answered Sep 16 '14 at 11:28 PM

avatar image

DcDenton
51 3 8 8

(comments are locked)
10|2000 characters needed characters left

What screenshot you want?

more ▼

answered Feb 19 '15 at 12:59 PM

avatar image

DcDenton
51 3 8 8

(comments are locked)
10|2000 characters needed characters left
Your answer
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