Author Topic: DO and LOOP events  (Read 1233 times)

Just as in description, we need events that do these.
DO-
I was thinking the "Do" event would fire a specific event in the event line. Like, Do > Line
LOOP- A command that loops forever (Depending on delay though)

I want someone to make this.

About relays: The loop command would allow a brick to be looping multiple things at once, unlike how with relays only one thing can loop at any given time on a brick.

Yes, I made a topic on this in the past. I think it is even more needed now.
« Last Edit: May 07, 2011, 06:53:45 PM by pecon7 »

What would be the uses for a DO event? Isn't there already an event "onbrickcreated" that would do sort of the same thing?
I support the LOOP-thing, but I'm afraid lots of noobs will abuse this for spamming servers...

Onpressed

Brick [launcher]

do

And then it would do any "do" events in that brick, i believe.

Onpressed

Brick [launcher]

do

And then it would do any "do" events in that brick, i believe.

I'm not that good with VCE functions, but I think a combo of "statefunction/callfunction" would do the same thing. The same goes for relays.

I was thinking the "Do" event would fire a specific event in the event line. Like, Do > Line
  • . If you want an event to fire right when its made I belive "OnRespawn" or "OnContentCreate" can do that.

Oncontentcreate is for JVS only.

But I like your idea for the do.

I'm not that good with VCE functions, but I think a combo of "statefunction/callfunction" would do the same thing. The same goes for relays.
If you don't know what something does, don't say "use this".

OT: This could be accomplished with multiple bricks with relays, VCE Parameters, and fireRelayNum.

You can do looping with relays.

checked - onActivate<self<fireRelay
unchecked - onRelay<self<fireRelay
checked - onRelay<self<toggleEventEnabled, 0 1
whatever events you want, put onRelay as the input and it will loop it.
« Last Edit: May 08, 2011, 12:08:35 PM by ::Matt:: »