This one is difficult to answer in a short space. There's a lot of steps involved. This is a really abbreviated version of how to make a switch.
First you need two WorldModels, one with the appearance of the switch turned on and the other off. Both sit in exactly the same location, but one is hidden at all times. You take turns swapping which is hidden, depending on the state the switch is in. The switch WorldModels are just for show. The actual SlidingSwitch object that does the work, sits in front of the WorldModels and is invisible.
You add a SlidingSwitch object, and it swaps the switch models as well as does whatever it is that the switch is supposed to activate. If you want it to turn on an energy bridge, you set the bridge to be hidden to start with. Then you send a command like "msg BridgeName (hidden 0)" to make it appear, and "msg BridgeName (hidden 1)" to make it disappear (all without the quotes). BridgeName is whatever the bridge WorldModel object is named. The same type of command is used to hide and unhide the switch models.
In the properties of the SlidingSwitch, you click the "Commands" button and type whatever commands you want the switch to do when the player turns it on, in the "PowerOnCommand" field. And whatever you want to happen when it gets switched off, goes in the "OffCommand" field.
If you want a delay, you edit the "OnWaitTime" field in the SlidingSwitch properties.
If you load the M02-03 sample map that came with the editing tools, you can steal all the parts to the switch (and the bridge) from there, and modify them.
tronfaq: Thanks, that explains it well enough to get me rolling.
win3k: I can't remember the level name, but it was the one where there was a column in the center, and you had to go around the column fighting ICP's and at the end of each level there was a mini-boss fight... It's hard to explain.
I recommend checking out the Single Player Level that Monolith provided with the Level creation tools.
There are 2 energy bridges on that level with switches that flicker them on. I have been using those bridges as a basis for a lot of things in my levels. Bridges and Forcefields, etc.
ldso:// - Living Dead System Operators
[2.0PD] - 2.0 Program Developers
i dont have map can you send it to me would make it a lo easyer for me wish i coud use turbocad
while hacking his computer and arguing with the MPC tronman was shot with a laser from behind and digitized. when half digitized a message window poped up and it read
fatal error file canot be transfered click ok to cancel
WARNING file will be lost