So I know you can make event icons that take up four tiles by using the image prefix "$", but I found that when you try move around it, you go underneath or behind it. I want to make a movable item (like, where it has a set move route to move away from the player whenever it's touched) that takes up four tiles, but does not allow you to go behind it or underneath it (unless "Through" is checked).
Event icon covering four tiles without going underneath it?
RPG Maker VXAce SupportThe prefix $ has nothing to do with how many tiles are taken up by an event sprite. $ simply means there is ONE character on that character sheet, and not 8. Even if you had 8 characters (no $) you could still make them as big as you want - they just all have to be the same size.
I had done a script that would give an event a larger 'base' for collision (so you couldn't walk under it), but it only really worked for events that didn't move. It checks whether the player collides with it, not whether it collides with anything else. It would need a bit of work to be able to do what you are wanting.
Aside from a scripting solution, the only thing I can think of is to create additional events on either side, that are set to the same priority as the event with the sprite, and have a parallel process trigger that continually checks the position of the 'key' event and moves to be to the right or left of it. If you do this, make sure you add a Wait at the start or the end so it doesn't cause lag.
I had done a script that would give an event a larger 'base' for collision (so you couldn't walk under it), but it only really worked for events that didn't move. It checks whether the player collides with it, not whether it collides with anything else. It would need a bit of work to be able to do what you are wanting.
Aside from a scripting solution, the only thing I can think of is to create additional events on either side, that are set to the same priority as the event with the sprite, and have a parallel process trigger that continually checks the position of the 'key' event and moves to be to the right or left of it. If you do this, make sure you add a Wait at the start or the end so it doesn't cause lag.
Woah. I have no idea how to do that.
Leave it with me for a bit. I'll see if I can modify my existing script to handle the rest.
Thanks, Shaz ;v; You've been so helpful.
I've almost got it working. Just have to allow 'large' player sprites to activate events from further away than the next tile now.
Original thread: https://forums.rpgmakerweb.com/threads/event-icon-covering-four-tiles-without-going-underneath-it.23736/