[MV] How can I make a giant worm in the overworld?

I'm currently making a game in RPGMaker MV, and I'm trying to make a boss fight that takes place in the overworld, where you attack this Mongolian-death-worm-esque creature's limbs by pressing Z on them, while avoiding its head so it doesn't bite you. Thing is though, I don't know how exactly to do this. Should I use multiple events, one event, or a plugin? I'd prefer events instead of plugins so I wouldn't have to do download anything just for this, but if it works, I'll take a plugin.

The way I have it currently set up is with multiple events, with the head following the player, and the limbs following each other. The head just uses move towards player, while the limbs use this script in its movement route:
JavaScript:
this.moveTowardCharacter($gameMap.event(001))

Thing is, whenever it turns, the head just gets blocked by its own limbs.
Here's how it should look when it tries to turn vs how it shouldn't:
Spoiler: Image (Warning, creepy modified photo of a worm due to to this game's art style.)
1703290799895.png

(Also, would you also be able to give me a switch based alternative to the move towards player code for the head, so when you press z on it, it freezes until the damage animation is finished, instead of disconnecting its head and launching it at you. I guess this isn't required but it would help greatly for doing this with just events. Also if you're wondering why its missing a tail, that's just because I haven't modified the tail image yet, I'm just getting the code right first.)

If anyone has any ideas, please don't hesitate to tell me. You might even end up in the special thanks, lol ^_^
Events are expected to take up only one tile and exists separate from other events. An eventing solution would be possible but it's far less effort to write a plugin that adds support for events to have follower entities. From what I'm seeing from a quick google search, such plugin does not exist. Your option would be to either keep on experimenting with event code to make it work, to try another idea, or to commission a programmer for help
There have been a number of threads with examples of plugins and the commands to use to make a series of events follow each other.


That's the first one that came up...I recall a more recent one where @AquaEcho was suggesting using Yanfly's Move Route Core to have each following event move into the space the former vacated.

With the correct arrangement of event IDs and a high enough frequency on their movement, it should be possible to get it just about as smooth as commissioning a plugin to make fake followers.
Thank you very much!!! ATT_Turan could not find nothing, you save my time!
Hey, @Tristanlagreato. If you're still looking for help with your worm boss battle, I'd like to attempt to give you an event-only solution. I made an overworld boss for my game too, so I have an idea. In my boss battle, I had an event that constantly compared the x and y coordinates of two events using variables.

Would it be possible to compare the worm's head's x and y coordinates with its body segment's x and y coordinates? So before it moves toward the player, the worm can check whether a body part is obstructing its way and move in a different direction if it is? You may have to compare the player's position with the worm's position too for this to work. For example, let's say the worm's head is at point X:5 Y:5 and its closest body segment is at point X:4 Y:5 one tile to the left and the player is to the left of the worm. Then your worm should move in a different direction, up, or down, so that it can continue chasing the player.

Anyway, hope this maybe leads you in the right direction for implementing your vision. And if you'd like any more clarifications or specifications, I'll be around.
Hey, @Tristanlagreato. If you're still looking for help with your worm boss battle, I'd like to attempt to give you an event-only solution. I made an overworld boss for my game too, so I have an idea. In my boss battle, I had an event that constantly compared the x and y coordinates of two events using variables.

Would it be possible to compare the worm's head's x and y coordinates with its body segment's x and y coordinates? So before it moves toward the player, the worm can check whether a body part is obstructing its way and move in a different direction if it is? You may have to compare the player's position with the worm's position too for this to work. For example, let's say the worm's head is at point X:5 Y:5 and its closest body segment is at point X:4 Y:5 one tile to the left and the player is to the left of the worm. Then your worm should move in a different direction, up, or down, so that it can continue chasing the player.

Anyway, hope this maybe leads you in the right direction for implementing your vision. And if you'd like any more clarifications or specifications, I'll be around.
That seems like it might work, I'll give it a try. ^_^
(also weirdly enough i was looking at your channel earlier after watching your minesweeper final boss theme video and then saw you here lol-)
(also weirdly enough i was looking at your channel earlier after watching your minesweeper final boss theme video and then saw you here lol-)
Oh yeah, that video. I never expected it to get as popular as it did. It's pretty cool that it's done well enough that I'm getting recognized for it on here.

That seems like it might work, I'll give it a try. ^_^
Anyway, good luck with your implementation. 👍

Original thread: https://forums.rpgmakerweb.com/threads/mv-how-can-i-make-a-giant-worm-in-the-overworld.164072/