I'm using Galv's Tools plugin in my game and it's working great, but now I'm a little stuck and would really appreciate some help.
The plugin allows you to have a tool item equipped so that when you interact with notetagged events, you can remove that event. For example, chopping down a log to get it out of your way as long as you have the appropriate tool selected.
I want to apply this same idea to pushing a boulder around, but I'm stuck because I'm using common events and I'm trying to make an event with an unknown ID have a movement route.
The plugin has a script that I believe is fetching the event ID (as well as controlling a self switch):
But I can't figure out how to utilize this to add on a simple 'move away from player' movement route.
Otherwise, if there were a script I could use to check that the player has the appropriate tool selected, that would work too. I just want it to run through a common event so I can mass-edit the sound effects and appearance later on.
Also, in the plugin parameters, you can set which keys you want to use to cycle through the tools in your inventory. I've tried changing these keys to q and e rather than pagedown and pageup, and they don't work. Is there a code for them rather than just 'q' and 'e'?
The plugin allows you to have a tool item equipped so that when you interact with notetagged events, you can remove that event. For example, chopping down a log to get it out of your way as long as you have the appropriate tool selected.
I want to apply this same idea to pushing a boulder around, but I'm stuck because I'm using common events and I'm trying to make an event with an unknown ID have a movement route.
The plugin has a script that I believe is fetching the event ID (as well as controlling a self switch):
Code:
var key = [$gameMap._mapId, Galv.TOOLS.event._eventId, 'A'];
$gameSelfSwitches.setValue(key, true);
Otherwise, if there were a script I could use to check that the player has the appropriate tool selected, that would work too. I just want it to run through a common event so I can mass-edit the sound effects and appearance later on.
Also, in the plugin parameters, you can set which keys you want to use to cycle through the tools in your inventory. I've tried changing these keys to q and e rather than pagedown and pageup, and they don't work. Is there a code for them rather than just 'q' and 'e'?