Invisible walls?

Is there a way to create an invisible wall that can trigger events when walked into without having to duplicate a single event?

For example, I want a wall that is unable to be moved past for the first part of a level (and a text box would appear saying something like "I can't go this way yet."), but after the player completes a mission, the wall disappears and can be walked through.
Absolutely. Switches and event pages are what you need for this.

I'm not sure if VXAce has the built-in tutorials like MV but if so, you should definitely check it out

Here's the link to a tutorial for switches in MV, as I couldn't find one for VX ace.
Absolutely. Switches and event pages are what you need for this.

I'm not sure if VXAce has the built-in tutorials like MV but if so, you should definitely check it out

Here's the link to a tutorial for switches in MV, as I couldn't find one for VX ace.
I'm not sure if I missed it, but how does this prevent OP from having to copy paste and entire wall of events in order to make an invisible wall?

As far as I know, there is no easier way than just setting up one event and then just copy pasting it wherever else you need it.

Essentially you'd make 1 "Wall" event. You set the trigger to player touch and "Same as player". On the first page you'd just put your "I can't go there yet" dialogue. Then you'd make a second page with the condition of a switch "Mission done" which is set to trigger action button and "Bellow player".

After that you can just copy the event and paste it on how many tiles you need for the wall.

Somewhere in your quest you then turn on that switch (For example when turning it in) and voila the wall will be gone.
You're right, I didn't read it well enough.

I know there are plugins to increase the "range" of an event for MV, maybe the same thing exists for VX ace.

If not, regions may be the way to make the wall.

I do agree that duplicating the single event is really not too difficult and is an extremely common practice.
You're right, I didn't read it well enough.

I know there are plugins to increase the "range" of an event for MV, maybe the same thing exists for VX ace.

If not, regions may be the way to make the wall.

I do agree that duplicating the single event is really not too difficult and is an extremely common practice.
Possible as well. Though I don't quite see why not just copy paste them. It's like no effort at all.
copy pasting the tile is easy, until you made a mistake, it would be better
to have a common event.

region restriction might be a way, but while I have something for that on MV,
I cannot port it to VXA as 1, I dont own it, and 2, I dont know any ruby.

but maybe something exist like that for VXA, maybe yanfly have that for VXA?
Possible as well. Though I don't quite see why not just copy paste them. It's like no effort at all.
The only reason I wanted to see if there was a better way was so that If I had to edit the wall, or if I made a mistake on one, then I wouldn't have to edit and/or delete every single one. Since I have large areas in my game that are going to need walls, it would be nice if I could just have a region command or something. (Obviously if there's no other way to do it, I'd resort to copy and pasting. I just wanted to know if there was an easier way.)
The only reason I wanted to see if there was a better way was so that If I had to edit the wall, or if I made a mistake on one, then I wouldn't have to edit and/or delete every single one. Since I have large areas in my game that are going to need walls, it would be nice if I could just have a region command or something. (Obviously if there's no other way to do it, I'd resort to copy and pasting. I just wanted to know if there was an easier way.)
Not sure what's out there for vxace scriptwise...
But generally for immersion purposes, you'd try to avoid any invisible walls, they're never fun.
To save events, as long as the player can't move diagonal and there's only one path, you could create a single event set to be on equal-layer that runs a little parallel loop to rearrange its own position.

Code:
<>Change Variable: V[0001]: GameData >> Player's MapX
<>Change Variable: V[0002]: GameData >> This Event's MapY
<>Set Event Position: This Event, X V[0001] | Y V[0002]
<>Wait: 1
<>

This example has to be set on the correct Y where you want the horizontal wall to block passage entirely. For a vertical wall, swap the references of player and this-event and place it on the X needed.

Just add a little more complexity if restriction of min- and/or max-value of the position to be set is needed if there are multiple paths on the map you don't want all of them to be blocked.

It should be okay to recycle the very same variables in other events of the same purpose since the values are completely temporary and not needed to be kept for further iterations.

~炬燵あ

Original thread: https://forums.rpgmakerweb.com/threads/invisible-walls.156349/