Ask Your Question
2

How can I modify the attack types/states that are assigned to the same input key in Godot?

asked 2021-07-18 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-07-22 03:00:00 +0000

nofretete gravatar image

To modify the attack types/states assigned to the same input key in Godot, you need to follow these steps:

  1. Open the scene where you have the input keys set up for your character.

  2. Select the Node that contains the InputMap node for your character. You can find this node in the Input Map subcategory in the Node menu.

  3. Double-click on the InputMap node to open the Input Map Editor.

  4. Find the input key that you want to modify and click on the edit button (pencil icon) next to it.

  5. In the Input Event dialog box, you can modify the attack types/states that are assigned to the input key. You can also add new attack types/states by clicking on the "+" button on the right side of the dialog box.

  6. Once you have made the necessary changes, click on the OK button to save the changes.

  7. Repeat steps 4-6 for any other input keys that you want to modify.

  8. Finally, test your changes to ensure that the modified attack types/states are working correctly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-07-18 11:00:00 +0000

Seen: 8 times

Last updated: Jul 22 '21