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"

UMG - Change button color with key press

Hi Everyone.

Just a little overview of what I'm trying to achieve and what I currently have in place to do this (Not working though which is why I've admitted defeat and come here!)

I'm currently trying to make a showcase of different skills for my entry to University next year, I'm currently in the throws of making a lighting showcase level and want to have it so that when I press 1,2,3 and 4 it will change the lighting in the map. I have the functionality for the actual light changing done, but I am struggling with the UMG part for the HUD. When I press the 1 key for instance, I want the color of the button on the hud to change.

Here is what I have in place but it isn't working for some reason, yet everything is compiling ok.

alt text

(Link to fullscreen image: http://i.imgur.com/rPFrq14.jpg)

I have a feeling it may be an input issue as when I simulate the widget and press 1, nothing seems to happen.

Any help would be appreciated!

Product Version: Not Selected
more ▼

asked Sep 08 '14 at 01:08 PM in Blueprint Scripting

avatar image

163 15 19 25

avatar image ianoreo Sep 10 '14 at 03:17 PM

I have been experiencing the identical issue in UMG. Created a question here but haven't gotten a response yet. Seems like the UMG blueprint doesn't hear KeyPress events. I'll be following your question here for any information you get!

avatar image Hodgeasaurus Sep 10 '14 at 03:50 PM

Yeah, can't remember what thread I saw it in, but I think I remember a Dev saying that input issues have been resolved in the 4.5.x build they are working on. Think it's just something we'll have to wait for.

(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