Frequently Asked Forum Questions | ||||
Search Older Posts on This Forum: Posts on Current Forum | Archived Posts | ||||
: Gate A Settings: Broadcast Channel: 1
: Gate B Settings: Broadcast Channel: 2
: - Place a "Switch: Toggle."
: Switch: Toggle Settings: Broadcast Channel: 1
: - Place a "Trigger: On-Enter On" that covers every spawn point in
: the map. You may place multiples to cover spawn points, but they all need
: to have the same settings.
: Trigger: On-Enter On Settings: Spawn Channel: 3
: Can Despawn: True
: Broadcast Channel: 2
: - Place a "Timer: Toggle."
: Timer: Toggle Settings: Power Channel: 2
: Broadcast Channel: 3
: Timer/User Data: 0
: - Place a "Timer: Toggle Once."
: Timer: Toggle Once Settings: Power Channel: 1
: Broadcast Channel: 2
: Now, here's how everything works. When everyone spawns into the game, they
: will spawn into the "Trigger: On-Enter On." This turns channel 2
: on. 2 things happen now: 1. "Timer: Toggle" activates
: immediately as the timer/user data is 0, so a 0 second delay. It activates
: channel 3. The "Trigger: On-Enter On" has its Spawn Channel set
: to 3 and is set to be able to be despawned. So this trigger (and any
: others with the same settings) all despawn for the rest of the game.
: 2. Gate B is activated as its broadcast channel is on 2. This leaves Gate B
: open and Gate A closed.
: Now, when the "Switch: Toggle" that controls the gates is
: activated, 2 things happen: 1. Gate A is opened, as the switch broadcasts
: on channel 1 and the door was waiting for an activation on channel 1.
: 2. The "Timer: Toggle Once" is activated, as its power channel was
: waiting for an activation on channel 1. It sends out a new activation on
: broadcast channel 2. As its a toggle, it will change the state of channel
: 2 to the opposite of whatever it was. Channel 2 was previously turned on,
: so this turns channel 2 off. This results in the closing of Door B, which
: listens on channel 2.
: And then, of course, you're free to continue toggling the switch, which will
: open/close the doors over and over.
: That should do it. As I indicated in another post, I just built this model,
: and it works.
Actually, disregard this. It won't let you open/close more than once because the power channel disables the timer. I'm confident I can figure out a way around this though, but don't waste your time trying this in the mean time.