Page 1 of 1
Reset vine after going through door?
Posted: Sun Jan 31, 2016 1:42 pm
by airpi
Hi first post wwwwww
I'm working on a slightly puzzley ghost house level, but I've run into a problem with a gimmick I want to use. Is it possible to reset the state of a vine in a box after going through a door warp? I wanted the player to discover the vine in the box, but potentially not realize that they had to destroy a block above it for it to be useful. I've tried warping the player through other sections before returning to the section with the vine, but the vine stays out.
Is it possible to put a vine back in the box?
Sorry if this question has been answered elsewhere, I searched the forum for "door" "vine" "reset door" etc and didn't find anything related.
Re: Reset vine after going through door?
Posted: Sun Jan 31, 2016 2:07 pm
by CopyLeft
Make it to where you have two layers, both have the vine box in the same spot. When you enter the door, at the exit, have an invisible ax trigger an event to hide the already hit vine box, and replace it with a vine box that has not been hit.
Re: Reset vine after going through door?
Posted: Sun Jan 31, 2016 2:09 pm
by HeroLinik
EpicMarioBro wrote:Make it to where you have two layers, both have the vine box in the same spot. When you enter the door, at the exit, have an invisible ax trigger an event to hide the already hit vine box, and replace it with a vine box that has not been hit.
But then won't the vine still stay there though?
Re: Reset vine after going through door?
Posted: Sun Jan 31, 2016 2:11 pm
by CopyLeft
Linik wrote:EpicMarioBro wrote:Make it to where you have two layers, both have the vine box in the same spot. When you enter the door, at the exit, have an invisible ax trigger an event to hide the already hit vine box, and replace it with a vine box that has not been hit.
But then won't the vine still stay there though?
Didn't quite think that one through.
Perhaps cloning sections?
Re: Reset vine after going through door?
Posted: Sun Jan 31, 2016 2:15 pm
by Emral
I'm sure there's some lunalua magic you can do, though I couldn't tell you how it's done at this moment. It's not possible in vanilla, as far as I know.
Re: Reset vine after going through door?
Posted: Sun Jan 31, 2016 2:38 pm
by airpi
Well, dink.
Thanks yall.
Re: Reset vine after going through door?
Posted: Mon Feb 01, 2016 1:11 am
by bossedit8
You can make sure that if you hit the block, the vine appears via layers and events and after you enter a certain area in your level, you can dissappear the vine and use a different block so the vine can be hidden again. If that's not the one you're trying to say, let me know.
Re: Reset vine after going through door?
Posted: Mon Feb 01, 2016 7:52 pm
by FanofSMBX
Toggling the layer "Destroyed Blocks" restores all destroyed bricks and empty ? in the level. But unfortunately it's all of them.
Re: Reset vine after going through door?
Posted: Sun Feb 07, 2016 5:02 pm
by HenryRichard
Enjl wrote:I'm sure there's some lunalua magic you can do, though I couldn't tell you how it's done at this moment.
If I had to guess, I would say whenever you enter a section you kill all vines, change all blocks on a certain layer to a certain ID, and fill all those blocks with a vine head.