Is there a way to change an event (or the player's) "priority" through an event command? Due to the graphics I'm using, sometimes part of the player character sprites are above or underneath the graphics when they shouldn't be. Does anyone know of a way to changing priority through event commands, or a plugin that allows this?
Change Event Priority Through Event Commands?
RPG Maker MZ SupportThis sounds more like your question should be "I have characters whose sprites take up more than one tile, how do make them display properly?"
It has nothing to do with your events, and everything to do with how you've drawn your graphics. There are plugins for this (it actually is one of the DLC plugins you have in your MV folder, but Shaz updated it):
forums.rpgmakerweb.com
It has nothing to do with your events, and everything to do with how you've drawn your graphics. There are plugins for this (it actually is one of the DLC plugins you have in your MV folder, but Shaz updated it):
Neon Black's Large Sprite Fix
Neon Black's Large Sprite Fix 2015.08.11 by Neon Black Introduction This is Neon Black's Large Sprite Fix ported from Ace. The MV script was written by Neon Black - I just made a fix to it while he was unavailable. How to use Please read plugin instructions. Script MUST be saved...
forums.rpgmakerweb.com
Hudell's has a tile priority plugin that is going free next year if you don't mind waiting until January 1
hudell.itch.io
Tile Priority plugin for Rpg Maker MV and MZ by Hudell
An rpg maker plugin to make tile star passability work with large sprites.
hudell.itch.io
@AquaEcho What more/different does it do than Neon's? I don't use large character sprites, so I'm not familiar with these featuresets.
Well Neon/Shaz's is for MV. I don't know if it works in MZ or not. If it does, then well, I guess the OP has options.
Totally my bad. I saw the MV on the profile, didn't notice the thread was in MZ support.
Another option is Tonbi's plugin (if I'm correctly understanding what it does).
Thanks for the suggestions, guys. I will try these plugins tho I'm not sure they'll do what I need to do. I'm using overlays for the maps and I have some things that I want to walk behind and in front of, but aren't large enough to do that without having a huge impassable space in front or behind them. (So that the player can't walk through the object.) I've made it so that the player can now walk through these events only in certain directions, but the tops of their heads are being cut off by the top of the graphic.
Yes there is.
Using a Script command
$gameMap.event(1).setPriorityType(2);
This would set event 1 to above.
The first number is whatever event you want to target, and the second number should be 0, 1, or 2.
0: Below
1: Same
2: Above
Using a Script command
$gameMap.event(1).setPriorityType(2);
This would set event 1 to above.
The first number is whatever event you want to target, and the second number should be 0, 1, or 2.
0: Below
1: Same
2: Above
That's awesome! Thank you so much!
Original thread: https://forums.rpgmakerweb.com/threads/change-event-priority-through-event-commands.163620/