Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RPG Maker Action Combat - RPG Maker MZ Plugin

Create high quality ABS, action games right inside RPG Maker · By Sang Hendrix

[ANSWERED] Right mouse for attack?

A topic by Fasold Publishing created 68 days ago Views: 176 Replies: 7
Viewing posts 1 to 6
(1 edit)

Hi there, I would like to ask if it possible to assign the attack key to the right mouse button?

I would like to use the mouse movement, but when a weapon is equipped, the character attacks on Mouse 1, instead of moving.

Would this be possible? So mouse 1 for movement, and mouse 2 for attack?

Thanks!

Developer (1 edit)

Yes it's possible. Please go to common event database, find Weapon Attack and change Input.isTriggered('leftclick') to 'rightclick'. Also, make sure you enable mouse movement in parameter of Hendrix Action Engine plugin.

Great, thanks for the help!

Hm, maybe I'm being a total noob, but I can't find it!

You do mean event 13 of the common events, Weapon Attack, right?

When I open it, I just see the input_is_triggered for the gun, not for the sword.
But maybe I'm looking in the wrong place?


Developer

Here you go.


Or you can just map your button to right click


(+1)

Thanks again for your help!

Hi, just wanted to say thank you for an amazing engine! Just found out about the clickable events, and all the extra features. Great stuff!

Developer

Thank you! There's more to the plugin that you can discover and I hope you'll like them all :D If you need help, feel free to visit Discord and I'll be there to answer in real time.