I'm creating a skill you can use on the map by pressing "Spacebar". The ability is simple: press Space and move forward 2 spaces, going through any walls on the way.
The problem I'm running into is when you use this ability and you land in an object/wall. When that happens, you can simply use the ability again and move through the entire wall, but I want the ability to only let you move through 1-space walls. When you land on something you're not supposed to, I want it to just push you back out to where you came from, but I just can't get the event to spit you back out.
Any suggestions on what to do? I was trying to tinker with region IDs but my scripting knowledge is basically zero, so I haven't been able to get it to work.
The problem I'm running into is when you use this ability and you land in an object/wall. When that happens, you can simply use the ability again and move through the entire wall, but I want the ability to only let you move through 1-space walls. When you land on something you're not supposed to, I want it to just push you back out to where you came from, but I just can't get the event to spit you back out.
Any suggestions on what to do? I was trying to tinker with region IDs but my scripting knowledge is basically zero, so I haven't been able to get it to work.