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 Threads

Latest Posts

Latest Profile Posts

20 festive cards can now be unlocked in BiteMe!

The cards are permanent, but can only be unlocked in December!
Once the year is over, you won't be able to unlock the cards, or to upgrade it.
https://johndoenews.itch.io/biteme-storymodeCard141-160-Ad.png
Finally showing some updates again
I think it's ready - Chapter Selection:
unknown.png
On another more gaming topic, I paid 20 bucks for a visual novel to emotionally destroy me. I may write an entry about that.
1638611395177.png
Reading about metaverses recently. I can totally imagine myself in the future, logging in with VR glasses to a virtual beach villa sitting in a virtual chair, with a virtual laptop facing the sea...coding 16-bit RM.

Forum statistics

Threads
117,178
Messages
1,105,212
Members
153,300
Latest member
playerj
Top