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"

SetBind Console Command?

Unreal Tournament allowed you to bind in-game from the console: "setbind E switchweapon 4"

I'm not sure I understand this command in UE4.

How would I set "M" to Jump? Instead of "Spacebar" to Jump?

Product Version: UE 4.16
Tags:
more ▼

asked Jul 13 '17 at 09:57 PM in Blueprint Scripting

avatar image

JJGG117
28 4 7 11

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

1 answer: sort voted first

I think you need to use Input Action for that. It allows you to bind keys to actions, then call those events in Blueprints. Although it doesn't work through console commands.

https://www.unrealengine.com/en-US/blog/input-action-and-axis-mappings-in-ue4

more ▼

answered Jul 13 '17 at 11:38 PM

avatar image

Mistress Lillith
221 4 7 17

avatar image JJGG117 Jul 14 '17 at 07:42 PM

I have my inputs setup. Now how do I change them using SetBind console command?

Spacebar is Jump, how thru console can I change the Spacebar button using SetBind to say M button?

avatar image Mistress Lillith Jul 14 '17 at 08:07 PM

I don't think it exists as a console command any more.

A possibly workaround would be to create events in the level blueprint and call them from the console by typing: "ce eventname"

You could combine that with Rama's Victory Plugin which has functions for rebinding keys:

https://wiki.unrealengine.com/Rebinding_Keys_At_Runtime_in_Packaged_Game

(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