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"

Break lights?

Suppose I already set up a material slot in my vehicle mesh, and have already assigned an emissive material with a scalar parameter.

My question is, using the default vehicle setup that Unreal provides (move forward sets the throttle, move right sets the steering), how can I change the value of the break lights. Currently, I start my execution node after setting the throttle. I check if my move forward axis value is less than 0. If that is true, I connect to a select float that chooses a value of 120 (making my material emit). Then, it sets the materials emission accordingly. If it was greater than 0, the select float would return a small value that isn’t emissive.

The problem with this method is that I have a separate button for the handbrake. If I got to the handbreak and connect a few nodes that say “set the emissive parameter to 120 if pressed, or 0 if not pressed” it conflicts with the move forward-based break lights.

What’s a workaround for this?

Product Version: UE 4.19 Preview
Tags:
more ▼

asked Mar 12 '18 at 11:11 PM in Blueprint Scripting

avatar image

nerdares
6 2 4 9

avatar image Nebula Games Inc Mar 13 '18 at 12:13 AM

Do you have a screen shot of this set-up? I am having trouble following the logic here....

(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