Hello i need help with something. I want to make so that when you press the C key on your keyboard, an event spawns and it approaches another event on the map. Does anyone know how could i achieve this?
New keybind help
RPG Maker VXAce SupportConditional Branch allows checking if a key is pressed.
However, I didn't understand the part about the event approaching another. Will the events have fixed positions on the map, or will the first event need to follow the second regardless of its position?
If it's the second option, it's more complex because, in addition to needing to create something similar to Caterpillar, you'll also need to check for blockages in the path using some kind of Pathfind.
However, I didn't understand the part about the event approaching another. Will the events have fixed positions on the map, or will the first event need to follow the second regardless of its position?
If it's the second option, it's more complex because, in addition to needing to create something similar to Caterpillar, you'll also need to check for blockages in the path using some kind of Pathfind.
There are several problems with that idea.
First, VXA does not react to key presses but to gamepad buttons, and the button :C is not the same as the key C. If you press the F1 key while playing any VXA-game you'll get to the key configuration for the buttons, but that configuration is somewhat limited and more importantly, device based (so it goes over every VXA game on a players computer, allowing each player a different but consistent configuration.
Second, there is no event-to event trigger and the movement commands are limited as well. And this becomes a more critical problem if the target event can move.
You'll have to give some idea of what should happen on contact before we can even try to advice on that.
Third, creating an event is problematic - Tsukihime is the only one who ever wrote a script for this, and that script is unusable unless you have a very good understanding of Ruby.
It is easier to copy events from somewhere else, but again that depends on details on what the event is and is supposed to do.
So please provide more info about your game and where you want to use this.
First, VXA does not react to key presses but to gamepad buttons, and the button :C is not the same as the key C. If you press the F1 key while playing any VXA-game you'll get to the key configuration for the buttons, but that configuration is somewhat limited and more importantly, device based (so it goes over every VXA game on a players computer, allowing each player a different but consistent configuration.
Second, there is no event-to event trigger and the movement commands are limited as well. And this becomes a more critical problem if the target event can move.
You'll have to give some idea of what should happen on contact before we can even try to advice on that.
Third, creating an event is problematic - Tsukihime is the only one who ever wrote a script for this, and that script is unusable unless you have a very good understanding of Ruby.
It is easier to copy events from somewhere else, but again that depends on details on what the event is and is supposed to do.
So please provide more info about your game and where you want to use this.
Original thread: https://forums.rpgmakerweb.com/threads/new-keybind-help.181802/