Author Topic: Sub Events  (Read 12993 times)

ohhh i think i finally get it.

so instead of going: variable false - self - fire relay west
(another brick) on relay - self - if player id - lovey

it does it in one brick?

ohhh i think i finally get it.

so instead of going: variable false - self - fire relay west
(another brick) on relay - self - if player id - lovey

it does it in one brick?
Nope.
It's seriously not that hard to grasp the logic of it, M has explained it thoroughly.

I'll play around with it, but I am still confused as to what this does.

It's an onRelay output that effects only the events you choose, right?

Destiny: he was referring to my comment on an earlier page, not the actual addon.

It's just an easier alternative to toggling events.

Considering I was having trouble getting something to work on a relay and it worked first time with this?

I'm calling troll

Then you're just not good at using the relay trick, bud.

I personally enjoy the challenge of not downloading shortcut events. It's why I don't download many extra bricks, too. So I can load it and it be sure I won't have any stuff-ups. So while this event might be an easy shortcut, it isn't necessary. I only get necessities as far as events go. No offense to you, M.

-bunch crap talk- only get necessities as
I know you personaly and I can call you out now on lieng and trolling :D

wheres the event where you have set player transform

@ devele: Not irrelevant at all

On topic: I really don't understand this. I can't even explain what I think it does. It sounds pretty useful, so somebody please help me?

Does this give you the ability to call upon a specific event in a list of events?

Is this like that thing in the horrible cityrp where sometimes they had a 1. view lots 2. buy lot 3. sell lot and you type that number?

This is Just Relay and changed the codes around and named it Sub
I bet there are hardly any differences

For the Idiots who cant work out Logic
This event is like the Relays, but it has a Output Parameter. In the Box you can put what events you want to 'Relay' but the events 'Targeted' have to start with the Input event 'OnSub'. So now you can do something like this:

(Number) (Enabled) (Delay) (Input) (Target) (Output) (Output Parameters)

0 [ X ] 0000 OnActivate>Self>DoSub>[ 2, 5 ]
1 [ X ] 0000 OnPlayerTouch>Self>DoSub>[ 4, 6 ]
2 [ X ] 0000 OnSub>Client>CenterPrint>[Going up!][ 3 ]
3 [ X ] 3000 OnSub>Client>CenterPrint>[Want down? Going Down!][ 3 ]
4 [ X ] 1000 OnSub>Player>SetVelocity>[ 0 ][ 0 ][ 50 ]
5 [ X ] 4000 OnSub>Player>SetVelocity>[ 0 ][ 0 ][ -100 ]
6 [ X ] 5000 OnSub>Player>Kill

Now Activating (Clicking) the brick will:
1. Give center print "Going up!" for 3 secs
2. After one Second, send you flying upwards
3. After three seconds Center Print "Want down? Going Down!" for three seconds
4. After 4 seconds, send you flying to the Floor.
5. But it WONT kill you. (Unless you have Falling Damage On)

Now if you Touch it:
1. After one Second, send you flying upwards
2. After 4 seconds, send you flying to the Floor.
3. After 5 Seconds, it WILL kill you.

Note; you DONT put all the Events you want to number, just the Lowest Event, and the Highest Event. It will automatically target ALL the events in between (If they are a OnSub).


Also, can I request a Drop Down List with North/East/South/West/Up/Down targets? Like FireRelayWest?

This is perfect for making longer delays.