Poll

Have you had this problem?

Yes
5 (62.5%)
Not that I can remember
1 (12.5%)
Never
2 (25%)
Yes, Ill make it
0 (0%)
No, but ill still make it
0 (0%)

Total Members Voted: 1

Author Topic: Relay 2 Event  (Read 977 times)

Every now and again when Im eventing, i try to use a relay, but it wont work because theres already a relay in the events.  So ive decided to suggest a "Relay 2". Its basicly a second Relay that has no offect on the normal Relay. It would have to have "OnRelay2" and "FireRelay2" but the "FireRelayUp2" would be just a list with the options Up, Down, North, East, South, West, Self. Self meaning the brick itself. I would be very happy if someone makes this and I think ive heard others having this problem.
« Last Edit: January 01, 2009, 08:51:23 AM by boodals 2 »

Wait, what? Why would you need a second relay
?

Wait, what? Why would you need a second relay
?
you need diffrent things to happen at diffrent times

Wait, what? Why would you need a second relay
?

Say you want to make a teleport to 2 seperate places. We will call the teleport brick "Tele", then the first location "Loc 1", and the 2nd "Loc 2". We want it so only the person in a control room be able to activate the teles.

-------KEY-------
(0) = Event Number
E/D = Enabled/Disabled
0/500 = Delay

So we need another 2 buttons. On the first button it would say:
(0) E 0    OnActivate>NamedBrick"Tele">FireRelay

The second button would be:
(0) E 0    OnActivate>NamedBrick"Tele">FireRelay2

As you cant target a brick to target the player, you need to use a relay to the brick telling it to enable a event that teleports the player. So the Tele brick would be:
(0) E 0     OnRelay>Self>SetEventEnabled>1 4>Checked
(1) D 0     OnPlayerTouch>NamedBrick"Loc1">SetPlayerTransform>North
(2) E 0     OnRelay2>Self>SetEventEnabled>3 5>Checked
(3) D 0     OnPlayerTouch>NamedBrick"Loc2">SetPlayerTransform>South
(4) D 500 OnPlayerTouch>Self>SetEventEnabled>1 4>Unchecked
(5) D 500 OnPlayerTouch>Self>SetEventEnabled>3 5>Unchecked

If you can understand this im supprised.

You're doing it wrong.  Isn't it ToggleEnable now?

You're doing it wrong.  Isn't it ToggleEnable now?
Yes, ToggleEventEnabled will toggle it's enabled status, regardless of what it already is.

How about this: you can make a FireRelayNumber, and then enter the event numbers.

How about this: you can make a FireRelayNumber, and then enter the event numbers.
That wont work as you would have to do like the old old old variables. The OnRelay wont work as you cant have a number for what Relay. Although you could do somthing like:
OnActivate>Self>FireRelay>1 2 3 5 9 20

The extra numbers being what event number it will Relay.

EDIT: What i meant was you cant affect the Input event in the Output Parimiters.
« Last Edit: January 01, 2009, 10:22:57 AM by boodals 2 »

You're doing it wrong.  Isn't it ToggleEnable now?

There's both. setEventEnabled will either enable or disable the chosen events based on a check box, toggleEventEnabled will switch the selected events to the opposite of their current.

That wont work as you would have to do like the old old old variables. The OnRelay wont work as you cant have a number for what Relay. Although you could do somthing like:
OnActivate>Self>FireRelay>1 2 3 5 9 20

The extra numbers being what event number it will Relay.

EDIT: What i meant was you cant affect the Input event in the Output Parimiters.
Thats what I meant.

Use delays and stuff.

you do realise i've been asking for this with a list of other things... and i never got anybody to respond, so why does everybody respond to this one and not mine?

you do realise i've been asking for this with a list of other things... and i never got anybody to respond, so why does everybody respond to this one and not mine?
Yes, you did request it, but youve edited off so i cant telll what you said. But by quotes it looks like you didnt really explain it well enough. Not really at all. And no one can respond to it, its locked.

Use delays and stuff.
How could delays and 'stuff' work for a extra Relay?

you need diffrent things to happen at diffrent times
put moar than 1 brick.