This is for MV.
So, I just encountered a problem with my game. In the screenshot below, you can see I have narrow paths through a storage room. The event on the path, in front of the player, is a lighting event.
In my game battles aren't random. There are enemy sprites patrolling the maps. Also... you don't obtain your loot during the battle scene (once you win). I have a loot box that drops where the enemy event was once it triggered. Players can then open the loot box for randomized items.
The problem is if the player happens to be standing on the lighting event when the battle triggers... when it's over, that player can't loot the box in front of them because they're on the lighting event... and the engine is attemping to interact with that event instead. I'm guessing events the player stands on take priority over those in front of them. So... is there a way to set, within an event, that it should take priority over another? So... if this does happen, the lighting event has lower priority and the treasure event has higher... so players will open the chest instead?
I do have a workaround. I'm moving the lighting event off the path and setting the x-offset. So, that does fix it, but I'm also curious if there is way to fix the issue above without doing this... in case I run into this issue in the future.
Figured I'd ask 🙂
So, I just encountered a problem with my game. In the screenshot below, you can see I have narrow paths through a storage room. The event on the path, in front of the player, is a lighting event.
In my game battles aren't random. There are enemy sprites patrolling the maps. Also... you don't obtain your loot during the battle scene (once you win). I have a loot box that drops where the enemy event was once it triggered. Players can then open the loot box for randomized items.
The problem is if the player happens to be standing on the lighting event when the battle triggers... when it's over, that player can't loot the box in front of them because they're on the lighting event... and the engine is attemping to interact with that event instead. I'm guessing events the player stands on take priority over those in front of them. So... is there a way to set, within an event, that it should take priority over another? So... if this does happen, the lighting event has lower priority and the treasure event has higher... so players will open the chest instead?
I do have a workaround. I'm moving the lighting event off the path and setting the x-offset. So, that does fix it, but I'm also curious if there is way to fix the issue above without doing this... in case I run into this issue in the future.
Figured I'd ask 🙂