Hello! I'm very hesitant to post this, as my past few requests have had no luck. I've probably been asking for too much in each, but I digress.
Several bugs in my game are caused by the way that normal priority currently works. In a normal VX Ace game, a player and a normal priority event will almost always be on different tiles. However, my project is using multiple tactics to subvert the grid, including parallax mapping, custom event placements, custom event and player hitboxes, and a custom interactionbox (the box that determines where the player is interacting with events), so there are many cases where the player and a Normal Priority event may be on the same tile. This means that in these cases, the event cannot be activated, as normal priority specifically requires that the event and the player be on different tiles.
My request is for the code defining normal priority to be modified so that the player can activate the event not only from adjacent tiles, but also from the same one.
That doesn't seem to be working for me. I've tried both inserting it into Game_Player, and using it as it's own script, in varying spots. I'm using multiple scripts; could one be aliasing that method already, making this ineffective?
In that case, you might as well as listing the script you're using. Additionally, you can try my script in the blank project and see if it works.
make everything default, but change the Z order of the sprites, thus layering things on top of others without changing priority?
maybe the problem is not the problem... have you tried going around it?
I have no idea what you're suggesting, sorry! 😀 This is about triggering normal priority events on the same tile, not their graphics.
that's what I want to understand: how is normal priority causing trouble?
usually if you stand in the same tile as an event, you trigger them with an action not by contact.
if you have to use different priorities to affect the layering, just shift the layering to another process and work with normal priorities as they are.
That's just the thing. I can't trigger the event with the action button, BECAUSE I'm on the same tile as it. Normal priority seems to have a restriction where the player and triggering event must be on different tiles. Currently, I cannot activate the event at all when on the same tile without setting it to below priority- and then the player has to be on the same tile! I need both at the same time, unfortunately.
@gstv - Action button trigger for "normal priority" events is checked only for events in front of the player. This is because normally, normal priority events and the player cannot be on the same tile, but the OP have a system in place that allows such behavior.
The OPs problem is that he wants it to trigger for normal priority events even if they are on the same tile as the player. He needs it to be on normal priority.
As much as its its possible to make a workaround for the display, that might be more troublesome to do and might lead to other problems..
@OP - Have you tried Theo's script on a new project just to determine if its really a compatibility issue which makes it not work? In case it is indeed a compatibility issue, can you try putting it as the last script and see if that makes it work without causing other problems.
Have you tried Theo's script on a new project just to determine if its really a compatibility issue which makes it not work? In case it is indeed a compatibility issue, can you try putting it as the last script and see if that makes it work without causing other problems.
So you're saying there's another script interfering? I only have four scripts in the blank project- just enough to make the event function without crashing, not even function correctly: Cidiomar's Full Input Keyboard, Tsukihime's Event Trigger Labels, GaryCXJk's Free Movement, and TheoAllen's little snippet from above. When I remove Tsukihime's script, I'm able to activate the event as I want; however, I still need it for my project.
the only link I could find, is in Tsukihime's script, line 222, check_action_event.
it overrides the default and calls for check_event_trigger_here, which itself would not be overwritten by Theo's solution
you should probably find and unify all calls that lead up to event.start.
EDIT:
scratch that.
make it line 183, update_nonmoving.
that's what ultimately diverts to check_action_event and event.start
it requires a thorough backtracking, and I'm tired right now... the solution is somewhere between that, and event.start.
I think now would be a good time to mention that I have no idea how to possibly do that. 🙂
wow, I lost track of this
I just underwent a brain dump after a while of not working, so I might be able to figure it out.
EDIT: what exactly are you using Hime's script for? it really only manages the keyboard, when it comes to interacting with events.... it doesn't really affect events themselves.
Ah sorry, I didn't see your edit. I'm using Tsukihime's script so that my events can be triggered differently by different button presses. It's not strictly necessary, but the event won't function right without it. The issue I'm having happens regardless of me using it, though.