Author Topic: Remote relay or activation as a new event.  (Read 910 times)

Cap

I know people can already name bricks and give them events from afar but when events start growing into large numbers it would be very convenient (and probably less laggy) to have an event that activates the events on a named brick when it's to far away for a relay.

Example

*activation meathod* > *target brick* > Activate events.

You could use the events enabled command.

you could

*input function* > *target brick* > firerelay

and then
onrelay > do whatever
in the target.


Cap

you could

*input function* > *target brick* > firerelay

and then
onrelay > do whatever
in the target.

I'm not really talking about the relay method, that only works when all the events were set to onRelay to start with. The thing with the event system is that you can't change the input method without having to re-do the events. Call me lazy but it's easier to have a way to activate instead of re-doing every event, especially when you change your mind half way through a build. Which is the reason for this topic.


firerelay on a brick that does the functions on the other brick

i.e

onactivate>functionbrick>firerelay

functionbrick:

onrelay>targetbrick>setlight playerlight
delay:3000  onrelay>targetbrick>setlight playerlight



Then, whenever you fire a relay to function brick, it gives the targeted brick a light for 3 seconds.