I have a simple common event for the actor on the map to swing a weapon, basically it switches character images when the OK button is pressed, to simulate the swing of the sword:
I have tried to set up an enemy or obstacle(stone block) to be destroyed when the player presses action button to interact with them. This is just a simple way of doing it rather than an Action RPG script/plugin. However, I think the "Sword Use" common event is somehow blocking or delaying the Enemy/Obstacle from carrying out its event process, which is this:
If I press the OK button, while the "Sword Use" common event is in effect, while adjacent to the obstacle, it doesn't carry out it's process of animation and self destruction, unless I repeatedly press "OK" and it will do it on the 6th or 7th press.
If I don't have the whole "Sword Use" event engaged, and just walk up to the obstacle and press OK, it carries out it's event process right away.
Is it the amount of frames I am waiting in the sword use event? I don't think so, because I've tried swinging the sword, and waiting but nothing happens to the obstacle. I have to press OK a bunch of times, and then it does it's thing. I thought perhaps the obstacle event needs to run parallel so it's not waiting for the Sword Swing OK button common event to run through.
Any advice would be appreciated.
I have tried to set up an enemy or obstacle(stone block) to be destroyed when the player presses action button to interact with them. This is just a simple way of doing it rather than an Action RPG script/plugin. However, I think the "Sword Use" common event is somehow blocking or delaying the Enemy/Obstacle from carrying out its event process, which is this:
If I press the OK button, while the "Sword Use" common event is in effect, while adjacent to the obstacle, it doesn't carry out it's process of animation and self destruction, unless I repeatedly press "OK" and it will do it on the 6th or 7th press.
If I don't have the whole "Sword Use" event engaged, and just walk up to the obstacle and press OK, it carries out it's event process right away.
Is it the amount of frames I am waiting in the sword use event? I don't think so, because I've tried swinging the sword, and waiting but nothing happens to the obstacle. I have to press OK a bunch of times, and then it does it's thing. I thought perhaps the obstacle event needs to run parallel so it's not waiting for the Sword Swing OK button common event to run through.
Any advice would be appreciated.