Author Topic: fireEvent(s) output event  (Read 356 times)

like fireRelay but you would input the events you would want to fire

it seems like it'd be easy to do and something that's been suggested a couple times but i searched and didn't get anything

it probably is possible with vce or just enabling events and firing relays but i don't think that seems necessary and that it'd be easier in just one output
« Last Edit: February 12, 2012, 03:56:55 PM by Kingdaro »


Code: [Select]
Brick1's events:
On"" >> NAMEDBRICK: "Brick2" >> FireRelay

Brick2's events:
OnRelay >> Self >> ""
This is what it sounds you are asking...

Code: [Select]
Brick1's events:
On"" >> NAMEDBRICK: "Brick2" >> FireRelay

Brick2's events:
OnRelay >> Self >> ""
This is what it sounds you are asking...
no, something like this:

OnActivate > Self > fireEvent > 2

OnPlayerTouch > Self > fireEvent > 3

OnFired > Client > CenterPrint > "A player clicked me!"

OnFired > Client > CenterPrint > "A player touched me!"

of course you could span this across multiple bricks as this example could be simplified, but is only an example.

ok, ill make a little example. event"2" is set color red. event "3" is fake kill brick.


 1 [ on ]    on activate > self     > fire relay.

 2 [ on ]    on relay      > self     > set color RED.

 3 [ on ]    on relay      > client  > center print                  >  he clicked me.

 4 [ on ]    on touched > self     > fire relay.

 5 [ on ]    on touched > self     > toggle events enabled > [ 1 2 3 4 5 6 7 8 ]

 6 [ off ]    on relay      > self     > fake kill brick.

 7 [ off ]    on relay      > client  > center print                  > he touched me.

 8 [ off ]    on activate > self     > toggle events enabled > [ 1 2 3 4 5 6 7 8 ]

how about you loving read the op

i know that's already possible, what I want is a simplification.

found Sub Events thanks to my bro, locking
« Last Edit: February 13, 2012, 09:42:02 AM by Kingdaro »