Author Topic: How do you use JVS switches to make doors open and other things work?  (Read 953 times)

I also have been trying to figure that out.  Because I've seen people use the switches to make doors open, or shoot you up in the air.  Two days ago I figured out how to teleport.  I only remember one persons name that had the switches open things and all that.  I only remember Frogger from darklight large scale mall.

Events :o

Onactivate > NAMED BRICK (the door) > DoorOpen

The event should be something like that.

For a shoot-you-up-in-the-air one, do this. I use a switch, because it looks cooler.
Y = Yes, N = No. Or on and off.
First of all, find the onactivate.self.contentstop
Then, do this:
(1500) Oncontentstarted.self.contentstop
(0) Oncontentstopped.namedbrick.seteventenabled (0) (Y)
(150) Oncontentstopped.namedbrick.seteventenabled (0) (N)

Then, on the "namedbrick" brick...
onplayertouch.player.setveloc ity 0 0 100

That should do it. You'll turn the switch on, after 1.5 seconds, it'll turn off

Crap, forgot something. It'll turn off and launch you.

wait are all these events in block land already or do i need to get those add-ons?

oh and how do you make words pop up when you clcik certain things and how do you use the JVS to make something shoot a bullet or something