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

Sizzle sizzle sizzle...
zbf1dCZ.gif
Sharing my past was a mistake. Will delete the post when I get access to a working internet connection again.
TFW you get a plugin working correctly with your other plugins ♡\( ̄▽ ̄)/♡

(CW for minor gore - Einar's Y incision is gone for his test portrait)

Cs5kAbZ.png
Doing some winter related edits for a cozy cottage!
I think it's the third time I am changing my skill info plugin, but as I get better at programming, I want to fix the trash I made earlier :p

Streaming while I am programming the plugin. Join in if you wish :)

Forum statistics

Threads
116,981
Messages
1,103,495
Members
152,845
Latest member
Zynarith2
Top