public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Help with event processing a sword breaking things on maps.

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Help with event processing a sword breaking things on maps.
  • Original author: Derek
  • Original date: April 19, 2022
  • Source thread: https://forums.rpgmakerweb.com/threads/help-with-event-processing-a-sword-breaking-things-on-maps.146886/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

I hope this is the correct place to ask, but I am having the hardest time figuring out a feature I'm trying to add in my game. I'm also using Yanfly plugins.The player can press a button using YEP_ButtonCommonEvents to swing his sword on the map like Link in Zelda games. I've figured out how to make the animations so that whatever position he's facing he'll swing the sword in the right direction. I'm also trying to make it where you can break pots, boxes, and cut grass when you...

Archived First Post

I hope this is the correct place to ask, but I am having the hardest time figuring out a feature I'm trying to add in my game. I'm also using Yanfly plugins.The player can press a button using YEP_ButtonCommonEvents to swing his sword on the map like Link in Zelda games. I've figured out how to make the animations so that whatever position he's facing he'll swing the sword in the right direction. I'm also trying to make it where you can break pots, boxes, and cut grass when you swing the sword.

However, I've hit a roadblock and cannot figure out a work around. When the player is next to the "object" and swings his sword the pot or box will break, but it also breaks even if the player is facing away from the object or to the side. I'm also using YEP_EventProximity so I can use parallel process so I can use switches to let the game know when the player is swinging the sword and when he is not. I've tried using conditional branches such as ifplayer is facing x and etc but nothing seems to work. All I want is for the pot to break ONLY when the character is facing the pot and swinging his sword. I've attached photos in hopes it illustrates what I'm talking about. Any advice, cretic, or replies will be greatly appreciated!


Note: I also wanted to note this game still uses turn based battles, but I like for the player to be able to swing the sword outside of battle to break pots and kill npcs.





Protected download
The sprite sheet I use for when the player is swinging his sword outside of battle.


Protected download
The common event for the player to swing his sword on the map.





Protected download
Event page for the pot to break






Protected download
The pot breaks even when facing away from pot.




Protected download

The only time I want the pot to break when player attacks.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Capture5.PNG
Capture5.PNG
Capture4.PNG
Capture4.PNG
Capture3.PNG
Capture3.PNG
Capture1.PNG
Capture1.PNG
Capture2.PNG
Capture2.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#mv-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar