RMMV *SOLVED*How to get Galv's Tools to use tool when 'ok' is pressed, but not overwrite 'ok' functionality

patternBlue

Villager
Member
Joined
Jan 31, 2020
Messages
15
Reaction score
7
First Language
English
Primarily Uses
RMMV
I am using the plugin Galv's Tools (https://galvs-scripts.com/2016/11/20/mv-tools/). It allows you to setup which keyboard button you want to press when using the tools. When you press the button to use the tool, it checks if the event in front has a specific note tag, and if so, it calls a common event that you define inside the tool item. By default, the button to use tools is 'alt'.

If I set up the plugin options for Galv's Tools to use the 'ok' button for tools instead of the 'alt' button, then it overwrites the normal 'ok' function and I can no longer activate events.

What I want to do is have the 'ok' button activate events as normal, but also be the same button for using tools.

So, for example, if my player is using spacebar to talk to NPCs, dismiss messages, etc, I want them to also be able to use spacebar when they are in front of an event with <crop> note tag to water the plant (or use whatever is the current tool).


Any suggestions on how I can get one key to do both?
 

patternBlue

Villager
Member
Joined
Jan 31, 2020
Messages
15
Reaction score
7
First Language
English
Primarily Uses
RMMV
I figured it out on my own, actually :kaoswt:
 

Latest Profile Posts

It's been a while since i posted so here's something i've been working on.
Game_Mockup7_6.png
Engine: RPG Maker VX Ace

I've decided to stop buying candy in supermarket and bulk buy 4.5kg of candy. The disadvantage of that is, now I eat a lot of candy. -_-
Microsoft has consumed Activision Blizzard. Makes me wonder if they're gonna make Blizzard Blizzard again.
HexMozart88 wrote on AphoticAmaranth's profile.
Your profile pic's face is my current mood.

Forum statistics

Threads
118,543
Messages
1,116,813
Members
155,579
Latest member
dignus93
Top