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"

Blueprint: How do i express "When any button is pressed except "this button" set a value to false/true"?

I'm trying to do a basic color change when i press a button the color turns to green and when i press any other button beside that button the color will turn red. Thanks for the help. I know the tedious way but i'm curious to know if there a quicker way.

Product Version: Not Selected
Tags:
more ▼

asked Nov 05 '14 at 12:16 AM in Blueprint Scripting

avatar image

Pallyqle
10 2 4 6

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

2 answers: sort voted first

Make a bool that is set when you press that button. Then you check to see if the bool is true, and if so, disregard.

But I think you may also have to map each button out as well to call the change to red. Not sure if they have a mapping option that includes anything on the keyboard/controller.

more ▼

answered Nov 05 '14 at 07:33 AM

avatar image

Zeustiak
1.8k 131 68 110

avatar image Pallyqle Nov 06 '14 at 08:34 PM

Haha yea that what i'm doing, there's a lot of key on the keyboard but it'll be done one day. Thanks for the reply

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

Much easier way for that purpose is to use Checkboxes masked as Buttons instead of a regular Buttons. Because Checkbox can remember its "pressed" state which Button can't do.

more ▼

answered Jul 27 '17 at 09:29 AM

avatar image

vodkins
31 1 7 11

(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