PDA

View Full Version : Switching help thanks



jonlolz
01-21-2011, 12:14 PM
I need to make a 3 way lever spawn different objects, but only one object can be spawned at a time. Also it is on the 1st object by default.

Shadowheaven
01-21-2011, 12:36 PM
I'm not sure about what you're asking, but if I guessed correctly you just need to use a selector with 3 outputs: link the 3-way switch to the cycle input of the selector (the one at the bottom), be sure to demit (check rtm223's tutorial level) the other objects, and you're done

dr_murk
01-21-2011, 02:14 PM
I'm taking a guess that you want three different directions to spawn different monsters, am I correct?

If so, it should be fairly easy. When in the "up" position, the lever should send no signal. When to the "left", it sends a negative signal. And when to the right, it sends a "positive" signal. Just use those two signals created by a directional splitter and then the lack of a signal for the upright position to activate different emitters. Use a XOR gate on both outputs (positive and negative) to detect NO signal, and use this for the upright position.