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"

Transferring Input To Widgets

We have a scoreboard widget that the player holds tab to open. When the player releases tab, the scoreboard should close.

Currently we have an input event set up on the player controller. When tab is pressed, the widget is created, when tab is released the widget gets removed.

alt text

This works fine until we have an element in the widget that takes keyboard focus. When the widget takes focus, the event fires as if the tab key was released.

We tried to solve this by unhooking the 'released' event and having the scoreboard widget listen for when the tab key is released. But this doesn't work because the element within the widget has focus, so the event doesn't propagate.

alt text

What is the proper way to solve this issue? -Zak

Product Version: UE 4.10
Tags:
more ▼

asked Feb 03 '16 at 08:40 PM in Blueprint Scripting

avatar image

ZakBlystone
126 3 6 13

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

2 answers: sort voted first

you could try calling "Set Input Mode Game Only" prior to creating the widget alt text

inputgameonly.png (29.9 kB)
more ▼

answered Feb 04 '16 at 01:54 AM

avatar image

JR4815
456 10 7 18

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

Here's the function I call to exit a menu:

alt text

untitled.png (69.4 kB)
more ▼

answered Feb 04 '16 at 03:07 AM

avatar image

Ryan Darcey
836 47 45 70

(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