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"

A game pickup where it inverts the players control for a limited time

been trying to get some kind of blueprint together where a pick up can invert everyone's control input for example the B button on the game pad will be X and the movement on the left stick would be inverted if this pick up is picked up

Product Version: UE 4.20
Tags:
more ▼

asked Oct 09 '18 at 12:37 PM in Blueprint Scripting

avatar image

joshrobinson03
1

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

1 answer: sort voted first

The most straightforward way would probably be to branch on a playercontroller variable you make called AreControlsInverted which is set to true by the pickup, and if so, execute the other action.

So each InputAction event can go to a branch like that, and the True branch hits its neighboring InputAction's stuff, the False branch hits its own stuff.

It gets a little trickier if you let the controls be customizable.

more ▼

answered Oct 09 '18 at 05:46 PM

avatar image

mightyenigma
3.8k 18 23 20

(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