I'm not sure both if I need a script for this, or if it's possible through scripts, but I've found no other way to do it. What I'm trying to do is to make a tile in a tileset be above events that have priority "below characters", but below the player. Would it be possible to make a script displays the tileset tile like this if the terrain tag is 1?
thanks for any help!
Can you give a description of what exactly you want to achieve? You only described how you want to do something, not what (as in what happens in the game).
Changing such priorities needs a script, but messing around with tile priority in this way has the risk of breaking the map structure. To prevent that you should first check if other ways are possible, and even if we can't think of a better way any scripter would need more information to write a script that can be used.
☆mark should work for all event/actor/followers
That's too much trouble to go through in script just to make 1 sprite working, so it's best that you use some of the work around out there.
Remember that the default behaviour of the event engine can already do what you want there.
[1] Above Character puts the object(event/actor) at the same level as the ☆ mark. From there, the top half of the sprite has priority over the tile making it show above all.
[2] Normal puts the object below the ☆ marked tiles and depends on its Y location, the top/bottom half of the sprite is rendered differently according to the other overlap objects and their settings.
[3] Below Character puts the object at the bottom most layer right before the lowest tile layer, so you can easily use the ☆ mark tile or another event(set to through) with the priority set to normal to show above it.
All you need is to make one event to be below character, and another that's either above or normal for that part that you want it to cover up the actor.
So there's no need to change the priority of an actor there. Just 2 events.
edit:
remember to add ! to the file name so the event sprite will fit as tiles, without it, it will be move 4 pixels higher.
you can't change the priority of an actor - the priority is always relative to the actor, that's why they're called "above characters" (meaning above party actors) etc.