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"

Unbind default pawn key

Hey, i wanted to use a default pawn for something, but the wasd key keeps getting assigned.

I only want it to have one button assigned, but i can't find a way to unassign the "WASD" buttons

For example, let's say i want to use a azerty layout, but if i assign "Q", to moveleft, then it moves left, but down too since by default, "Q" is assigned to go down.

Product Version: UE 4.10
Tags:
more ▼

asked Nov 17 '15 at 03:25 AM in Blueprint Scripting

avatar image

Kris7277
6 2 6

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

1 answer: sort voted first

Edit -> Project Settings -> Input then look under action mappings. This should change the default move keys.

If you mean you want to have multiple options on how to move, then you could create a variable for the layout, then if the variable is 1, then w moves the player forward. If the variable was 2, then w would move the player left.

more ▼

answered Nov 17 '15 at 03:28 AM

avatar image

NightHawk45
118 10 8 19

avatar image Kris7277 Nov 17 '15 at 03:31 AM

I alredy have my azerty inputs in it, in the "default pawn class" you don't have to add anything, it has some movements already integrated in it without adding any movement input in the event graph or in the project settings, but then it interferes with my own inputs

avatar image NightHawk45 Nov 17 '15 at 03:34 AM

See my edit.

I might be misunderstanding you, but the way you explained it makes me think... why not just delete the other movements?

avatar image Kris7277 Nov 17 '15 at 03:36 AM

that's exactly what i want to do and i'm asking here how to do that haha ^^ it is integrated in the default pawn class, it's written nowhere in the event graph or in the project settings, so i don't know how to do that

it's the only class that behaves like this but i need it, i can't find a way to unassign the built in default inputs of this class

avatar image NightHawk45 Nov 17 '15 at 03:47 AM

Ah now I understand :) So the class your pawn is inheriting from has the WASD movements in it. If you don't need the WASD movements at all, you could just go into the parent class and get rid of it. If you do need it, you can probably override them somehow, and tell them instead of moving, do nothing.

avatar image Kris7277 Nov 17 '15 at 04:01 AM

the parent class is Default Pawn, i'm not using child class, i'm directly using the Default Pawn, and it has nothing anywhere, i think it's maybe written in the source code of the class because i can't find the "wasd" mapping anywhere

avatar image NightHawk45 Nov 17 '15 at 04:26 AM

At the top class it should say "Parent Class: Pawn" Or something like that. If you have a little knowledge of C++, you may be able find the movement and delete that part of the code. I'm not great with C++ myself, so I won't be of much help there. Other than that, I don't see any other way of accomplishing this.

(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