Problems with connecting an action to an entity

I am having trouble connecting an action to an entity. In this case it is a sword taking down a shadow creature known as the Corrupt Being. I am not using a separate RPG battle for this. It is just a simple attack, yet there are a few problems with it. Firstly, I cannot interact with it from any angle other than in front and it does nothing if the event itself is also turned in any other direction. For example, if I am facing it head on, it still won't work if its back is turned from me. And if it is facing me, nothing will happen if I am facing the 'wrong' direction (so anything other than head on). I am using some plugins that may be causing these problems. They are HIME_Event_Trigger_Labels and the other one... well I forgot what it was called but the plugin command StopPlayerMovement might be causing some problems. Here is how my sword works:

Sword Function.PNG



Sword Function 2.PNG


Sword Function 3.PNG


Sword Function 4.PNG


Sword Function 5.PNG


Sword Function 6.PNG



Here is how the Corrupt Being works:


Corrupt Being.PNG


Corrupt Being 2.PNG


Any idea about what could be causing this problem? Feel free to look at the extra picture attachments if you think the problem could be contained in there as well.
Why are you calling the same plugin command twice in every branch? the AllowPlayerMovement.

I'm not familiar with Hime's labels, but I would suspect there could be a conflict with you trying to use one button press to trigger two things. I would put all of that stuff out of a parallel event and into the shadow's event. (or leave it in a common event which the shadow calls)

Is there a specific reason you're trying to homebrew this instead of using one of the many ABS plugins? Is it something you're only doing in the one spot in your game?
I am not familiar with ABS plugins so do tell me about that. I have called the plugin command twice because AllowPlayerMovement doesn't work if I don't and it instead randomizes the animated frames if I only call it in once. It's strange that calling it in twice fixes this.

Anyway what is an ABS plugin? If there's a better solution, I am already quite curious about it.
Active Battle System is what people call this style of real-time combat on the map. If you just Google the phrase, you'll find lots of info and several different versions.
I have been looking at them and an ABS could work but my game is more about exploration and the battles must be simple. No UI, no overly fancy effects. It must be minimal. I have found one but I don't yet know how to use the animation to tie it into my sword and I don't know how to get rid of the UI (HP, MP, etc). By the way the ABS is called Alpha_ABSZ.

When I use the action button (without the HIME plugin changing it to Shift) I cannot use the animation of the weapon at the same time because it simply doesn't work it all. When I don't change it to Shift the sword can be used, but when I do it doesn't work as it should, as I explained earlier.

You said: "I would put all of that stuff out of a parallel event and into the shadow's event. (or leave it in a common event which the shadow calls)"

I did what you said and the same problems happened. I think when I swap the button prerequisite to OK (Enter) it conflicts with the entity. If I swap to Shift and use the HIME plugin to change the entity so that it responds to Shift, there is a similar conflict that for some reason works a tad better. Also, when using Enter, if I equip then unequip the sword, it stun locks the entire game (this is only a problem with Enter). This must be caused by a conflict between the animation and pressing the Enter button through the menu.

I could make it so that the animation does not ever play when you press Enter or Shift unless you attack something. I could pin the animation to the entity itself, but it would not effect the entity, only the player. But I want an animation to play every time you press the button because that adds immersion and makes it seem like you have a dangerous weapon that can impact the world.

Yume Nikki, a game about exploring dreams like mine, had a knife effect. It has similar properties to my effect, yet it works perfectly in an older engine. What I want to know is, if using and ABS doesn't work out, how do I implement this system in my own game?

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-connecting-an-action-to-an-entity.154382/