Author Topic: Wrench Events Light  (Read 1894 times)

Is it possible with Wrench Events to set a trigger that turns on a light but also turns it off? If it is possible, tell me how. I've been trying to do this for hours now.

You should try and wait for Badspot's version of events.

You should try and wait for Badspot's version of events.

Well, I never asked for this. I asked how to do it.

Yes, there is a way to do this. First, you need a click trigger brick. Then on the actual light brick do these: Wait For, then Light, have the light persistent. After that, have another wait for, but make it "Loop last". And one more light with no light selected. It should work.

Yes, there is a way to do this. First, you need a click trigger brick. Then on the actual light brick do these: Wait For, then Light, have the light persistent. After that, have another wait for, but make it "Loop last". And one more light with no light selected. It should work.

I think I did that, but I'll try it again.

EDIT: Instead when I click the trigger, the lights go on and off automatically.
« Last Edit: January 26, 2008, 03:57:15 PM by SuperSnake117 »

Do you have a server up? i could stop by

Do you have a server up? i could stop by

No, I'm at a relative's house and I can't get the ports to forward there. It'll be up tommorow or today.

Do you have a server up? i could stop by

No, I'm at a relative's house and I can't get the ports to forward there. It'll be up tommorow or today.

Stop by my server "Bacon's Jeep challenge v2"

Do you have a server up? i could stop by

No, I'm at a relative's house and I can't get the ports to forward there. It'll be up tommorow or today.

Stop by my server "Bacon's Jeep challenge v2"

Okay.

I noticed it's not up.
« Last Edit: January 26, 2008, 06:01:05 PM by SuperSnake117 »

Switch
Code: [Select]
Group: none (Do NOT set the group to the same as the brick you are triggering otherwise it will permanently trigger itself!)
Event: Triggers (1000ms)
 Type: Click
 Group: switch

Light
Code: [Select]
Group: switch (Triggered by the event in the Switch)
Event: Wait For (1000ms)
 Type: Triggered
 Loop Last: No
Event: Lights (500ms)
 Type: Player's Light (Change this to whatever you want)
 Persistent: Yes (The light doesn't turn off when the event ends)
Event: Wait For (1000ms)
 Type: Triggered
 Loop Last: No
Event: Lights (500ms)
 Type: NONE (Turns the light off)
 Persistent: Yes

Switch
Code: [Select]
Group: none (Do NOT set the group to the same as the brick you are triggering otherwise it will permanently trigger itself!)
Event: Triggers (1000ms)
 Type: Click
 Group: switch

Light
Code: [Select]
Group: switch (Triggered by the event in the Switch)
Event: Wait For (1000ms)
 Type: Triggered
 Loop Last: No
Event: Lights (500ms)
 Type: Player's Light (Change this to whatever you want)
 Persistent: Yes (The light doesn't turn off when the event ends)
Event: Wait For (1000ms)
 Type: Triggered
 Loop Last: No
Event: Lights (500ms)
 Type: NONE (Turns the light off)
 Persistent: Yes

you forgot sound, IE
Switch
Code: [Select]
Group: none (Do NOT set the group to the same as the brick you are triggering otherwise it will permanently trigger itself!)
Event: wait for (1000ms)
 Type: Click
Event: Sound
 Type: Other-light on
Event: Trigger
 Type: Auto
Event: Wait for
 Type: Click
Event: sound
 Type: Other-Light off
Event: Trigger
 Type: Auto

That should work.