The Problem is that a common Event doesnt have an Event ID.
But if that Common Event is called by an Event with Eventcommand "Common Event", than the code becomes like the code of that Event
and therefore if the code uses Event Id of "This Event", all is working well. Without the calling Event i assume that you get the error because of this.
Did you try to exchange @event_id with the direct id number of the event you want to get checked?
Instead of Proxy.inprox?(@event_id) you do Proxy.inprox?(1)
@event_id is referencing the Event which is executing the code. Since one Event can control the conditions for several others,
you will not need @event_id, but maybe a direct number. But i know to little about your approach to be sure.
Edit: And yes if you use for example Events 20 to 30 for this and you use common event,
than you need the same event ids on the other maps to work.
Or you do one map Event with individual Event IDs directly on each Map, but the common Event is ment to safe you from that work if possible.
Edit: You seem not to like some stuff, would you like to elaborate what this mechanic would look like for the player when playing? If we understand that, we might can come
up with a alternative Solution.
Edit:
Well, It will be in the conventional way. Thanks for the Attention.
Conventional way? What do you mean by that? Maybe we can improve your approach and make it alot easier or much shorter.
If there was a way to detect if an event (unimportant of the ID) is in the same tile to jump, without much tangle of events would be wonderful.
I found this piece of code
($game_map.events[id].y - $game_player.y).abs == 0 && ($game_map.events[id].x - $game_player.x) == -1 && $game_player.direction == 4
but you need to list the events and do the checks of each one, obviously in a separate event.
Until I find a better method, the operation of my event will have to be reconfigured.
What about the "Get Location Info" Command, it can tell you which Event Id is on a certain Maptile.
For example you check Location info for Infront of Player, and if the Variable is more than 0 than an Event is on that Map Position.
Now you can make that the Player Moves 1 Step Backwards for example.