Author Topic: Secret passages in builds  (Read 1189 times)

I like making secret passages in my builds.  I can't figure out how to make the passages stat open long enough, and the try to close them.  Does anyone know how to make passages with doors that awitch on and off?  I'm helpless with this.

This is pretty simple to do. Simply make a disappear event and the box on the right will have a number in it. This is how many seconds the brick will disappear for. I find that 3 is a good setting. You can either use this event activate by touching the door itself or by using a button.

I know how to do that.  I want to know how to keep a passage door open until i trigger it to close.

Code: [Select]
0 0 onActivate self setcollsion 0
1 0 onActivate self setcollsion 1
2 0 onActivate self toggleevent 0 1

Not exact commands but you get the point.

The first number is the number of the event.
Second number is time
Command
Target
Setcollsion then toggle between the 2 events

Thank you.  Does this make the brick disappear too, or not?

Code: [Select]
Check This on 0 0 onActivate self setcollsion 0
Check This off 1 0 onActivate self setcollsion 1
Check This on 2 0 onActivate self setrendering 0
Check This off 3 0 onActivate self setrendering 1
4 0 onActivate self toggleevent 0 1 2 3
That would make it also disappear, make sure they're checked like it says so it toggles them right

I really appreciate this.