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"

Display Multiple Widgets

Hi Everyone I got a little problem that's been stomping me for a little bit. I couldn't find any post that had a similar problem but if anyone knows one I would appreciate it if you could point me in that direction. So my problem is I want to have more than one box trigger through out the level that can display different widgets with text and text with buttons. I created the widgets and they can be displayed on the screen and I have a BP for each trigger box. But when I collide with each trigger box I keep getting one widget displaying on all trigger box instead of the widget I assigned it too. The only thing I can do is display them by them self one at a time using Event BeginPlay but as you guys now you can only use one of those events. In advance I really appreciate it big time if I could get any thoughts on this.

Product Version: UE 4.19
Tags:
more ▼

asked Dec 23 '18 at 07:57 AM in Blueprint Scripting

avatar image

animerick
30 1 5 7

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

2 answers: sort voted first

After a long period of head scathing I finally figure it out. I just had to promote the overlapping triggers as OnActorBeginOverlap and toggle the widget visibility, instead of trying to use EventBeginPlay like I seen in one youtube video.

more ▼

answered Dec 23 '18 at 09:13 PM

avatar image

animerick
30 1 5 7

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

"The only thing I can do is display them by them self one at a time using Event BeginPlay but as you guys now you can only use one of those events. In advance I really appreciate it big time if I could get any thoughts on this."

Yo!. you can use a sequence node which gets executed after begin play.

"So my problem is I want to have more than one box trigger through out the level that can display different widgets with text and text with buttons. I created the widgets and they can be displayed on the screen and I have a BP for each trigger box. But when I collide with each trigger box I keep getting one widget displaying on all trigger box instead of the widget I assigned it too"

i think you are using the same trigger box :/. create different triggers for different widgets. and make sure you name them for your ease. then just add Events on overlap for each of the triggers in your level blueprint.

more ▼

answered Dec 23 '18 at 10:01 AM

avatar image

SupDeity
508 5 7 15

avatar image animerick Dec 23 '18 at 04:26 PM

Hi Jurrasic Studios, thanks for replying back. I did both those steps you mention bust same thing keeps happening. Maybe some how I did use the same trigger box for the widget but I'm pretty sure I didn't. But to be sure I'm going to start over and do as you say and see if that help. Thanks again for the response.

avatar image animerick Dec 23 '18 at 07:37 PM

I have no idea what to do. I did everything over and same problem keep occurring.

avatar image SupDeity Dec 24 '18 at 09:31 AM

i guess the problem is solved. if not send over a ss of the blueprint :).

avatar image animerick Dec 24 '18 at 09:07 PM

Yes, I finally figure it out and thanks a lot for the help.

(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