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"

Removing Text When Exiting TriggerBox

Having some trouble getting text to disappear when I exit the trigger box from reading the note. I can easily display the text I want but I am unsure how I can make it disappear when I leave the triggerbox. Blueprint included, any help is appreaciated.alt text

Product Version: UE 4.14
Tags:
question.png (189.3 kB)
more ▼

asked Mar 29 '17 at 08:36 PM in Using UE4

avatar image

JCB_
1 1 2 1

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

1 answer: sort voted first

Why not create the widget before hand and simply using Set Visible to true and false according to player overlap?

Also, Begin overlap and End Overlap without checking overlapping actor will only be good if you set it to detect a specific collision that only the player has.

To sum up:

  1. Create widget on event begin play and promote to Variable.

  2. Player overlap begin -> set widget visibility to true

  3. Player overlap end -> set widget visibility to false

If this is not what you meant, let me know and ill try to help.

EDITED TO ADD THIS:

If i understood your setup correctly, this is how you should do it:

Notice i moved the creation to Event Begin Play and that on EndOverlap i didnt do DisableInput for Nothing, but instead enabled input for character again (is this what you wanted?) alt text

screenshot_4.png (252.3 kB)
more ▼

answered Mar 29 '17 at 09:24 PM

avatar image

DDraiman1990
151 4 5 8

avatar image JCB_ Mar 29 '17 at 09:45 PM

Maybe if you can provide an image to help out? I'm not exactly following.

avatar image DDraiman1990 Mar 30 '17 at 06:59 AM

Edited answer to give more clarification :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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