The Tileset Counter Tag: Is there something similar for an Event?

Hello.

The Tilesets option in the database allows to tag a tile so it act as a counter: if the Player wants to talk to a NPC over a table, if it's tagged as a counter, it will work.

JkZLiLI.jpg


My question is this one: Is it possible to make an event act as a counter in this similar and fast way ?

I got a complexe system of spawn. I have 2 events that can be interacted with. But the 1st will block me the 2nd, and I can't move any of them.
Also, this combination will be reproduced a virutal infinite amount of time in the game, that's why I'm looking at a solution.
no - but it sounds as if you have a solution that is unneccessarily complex. Show us the two events and tell us what you want to do, then most likely we can point you to a better solution.
Not possible without a plugin, but it is not a difficult plugin to write:

Code:
// =========================================
// Events as Counters
// =========================================

//=============================================================================
/*:
* @plugindesc This plugin allows events to function as a "counter".
* @author Aloe Guvner
*
* @help
* Any event with a graphic set to a tileset tile that is marked with the
* "counter" property will also act as if it has the "counter" property.
*
* "Counter" allows interaction with other events from 1 space away.
* (Example: Speak to a shop owner standing behind a table)
*
* */
//=============================================================================
(function() {
    var alias_Game_Map_isCounter = Game_Map.prototype.isCounter;
    Game_Map.prototype.isCounter = function(x, y) {
        if (alias_Game_Map_isCounter) {return true;}
        var flags = this.tilesetFlags();
        return this.eventsXy(x, y).some(function(a){return (flags[a._tileId] & 0x80) !== 0;});
    };
})();
@Andar I had a simple plugin command blocking a cool workaround I found, but I'm pretty superstitious about my developement, and I want to wait before sharing my systems in details. I'm sorry.

@Aloe Guvner That's a nice plugin thanks for sharing. I'm gonna make use of it, thanks!
Do you think the same result could be achieved by adding the "<Counter>" keyword in the "Note:" field of an event that has something else than a tileset graphics?
Just a thought tho.
Yes, it's possible, I wrote a very similar thing for Ladders. I can do the same thing for Counters, I'll update this post in a day or two with the change.
Damn this is nice, gotta try it out I might get use out of it.

Cheers on the Counter plugin!
@Narch I decided to release the "Counters" part within the same plugin for the ladders. You can find that in this thread:

https://forums.rpgmakerweb.com/index.php?threads/events-to-function-as-ladders-and-counters.88326/
Very cool to have people like you around. Thank you for this addition!
Second time and still a pleasure to deal with you

Original thread: https://forums.rpgmakerweb.com/threads/the-tileset-counter-tag-is-there-something-similar-for-an-event.91517/