Teleporter problem/Question

So I have this idea about a teleporter system, when you visit your first town for the first time it will unlock the teleporter system  allowing you to fast travel between the starting town and the first city you visited.

notunlocked.png​
This is how the teleporter looks before you visit your first town(when its in locked mode)(this part is correct)​
 ​
The idea of the event is to use Variables and Regions, so what happens is, when the player first walks into the first NEW town they will step on a specific region square. (as seen below)

townentrance.png​

When the player steps on one of these region squares a parallel event is suppose to kick in adding +1 to the Teleporter variable thus unlocking it.(as seen below)

Parallel process.png​
 ​
When this happens it is suppose to trigger  page 2 of the teleporter event....Suppose to.. 

page2.png​
 ​
That way when the player clicks the teleporter event from now on it will make a sound and start up thus adding +1 to the teleporter variable making the teleporter variable +2 sending the event to page 3(the last page) of the event allowing the player to choose their destination.

page3.png​
 ​
My problem is when the player first steps on the regions its not triggering the teleporter event to add+1 to the variable so it is always saying that the teleporter is in locked mode. can anyone tell from my images what the problem is? im sure its probably something simple and im just missing it because im agitated but i would really appreciate the help. TY in advance.
Wouldn't it be much easier to make town entrance events more like this... with the event's 2nd page being blank and activated when Teleporter variable is 1 or above. I mean, I don't understand why you are using Hero coordinates and stuffs.


2m5crps.png



Also, your teleporter event is set to require the variable to be at 2, while entering the town only adds 1. That might be causing the issue?
If you want to use region codes instead of placing events everywhere on the maps, it might be easier to use a script instead of a parallel process:


http://yanflychannel.wordpress.com/rmvxa/field-scripts/common-event-tiles/
Wouldn't it be much easier to make town entrance events more like this... with the event's 2nd page being blank and activated when Teleporter variable is 1 or above. I mean, I don't understand why you are using Hero coordinates and stuffs.

Also, your teleporter event is set to require the variable to be at 2, while entering the town only adds 1. That might be causing the issue?
im using the coordinates because i want the event to add +1 variable (that only unlocks the teleporter) when the player is standing on a region tile 59 and thats the only way i know how to do that.. what its suppose to do is when the player steps on one of the region 59 tiles it is only suppose to unlock the telporter. then when the player goes to use the teleporter it makes the start up sound and adds another +1 variable that makes it +2 

If you want to use region codes instead of placing events everywhere on the maps, it might be easier to use a script instead of a parallel process:

http://yanflychannel.wordpress.com/rmvxa/field-scripts/common-event-tiles/
i dont think that script would help. i think thats for tile sheets not regions, and i dont have alot of events everywere. i have the teleporter event and the entry to town event. and thats it lol
Why a variable? Why not just a switch? How are the teleporters in the other towns controlled? If you use the same variable and walk into the first teleporter a dozen times, won't that enable the first 12 teleporters, even though you've only been to one town? You don't need to increment a variable every time they use the teleporter.
im using the coordinates because i want the event to add +1 variable (that only unlocks the teleporter) when the player is standing on a region tile 59 and thats the only way i know how to do that.. what its suppose to do is when the player steps on one of the region 59 tiles it is only suppose to unlock the telporter. then when the player goes to use the teleporter it makes the start up sound and adds another +1 variable that makes it +2
I'm telling you you're way over-complicating this...


And yeah, you don't even need a variable for this. A single switch would work just as well.

Original thread: https://forums.rpgmakerweb.com/threads/teleporter-problem-question.23908/