Author Topic: A way to randomly pick named bricks  (Read 3447 times)

I finished this the other day. I just need to test it.

I finished this the other day. I just need to test it.
Dope. Hope it all goes well

Everything is done and works except for the box for which events to trigger. How should it work? Input the first and last event, a list of event integers separated by spaces?
???

Quote
Input the first and last event

So yea if i have 5 bricks "Brick1" through "Brick5" then the input could be [Brick1][Brick5]  that would work

So yea if i have 5 bricks "Brick1" through "Brick5" then the input could be [Brick1][Brick5]  that would work
No. I was talking about the last box. You pick event lines to be triggered on the brick.

Everything is done and works except for the box for which events to trigger. How should it work? Input the first and last event, a list of event integers separated by spaces?
???
I think it should be a list separated by spaces.

As for your second suggestion, Ctrooper, you can do this:

[ 0 ] [ + ] OnActivate -> [NamedBrick1] -> SetRendering (X)
[ 1 ] [ + ] OnActivate -> [NamedBrick3] -> SetRendering (0)
[ 2 ] [ + ] OnActivate -> self -> toggleEventEnabled (0 1 2 3 4 5)

[ 3 ] [ - ] OnActivate -> [NamedBrick2] -> SetRendering (X)
[ 4 ] [ - ] OnActivate -> [NamedBrick1] -> SetRendering (0)
[ 5 ] [ - ] onActivate -> Self -> toggleEventEnabled (3 4 5 6 7 8)

[ 6 ] [ - ] onActivate -> [NamedBrick3] -> SetRendering (X)
[ 7 ] [ - ] onActivate -> [NamedBrick2] -> SetRendering (0)
[ 8 ] [ - ] OnActivate -> self -> toggleEventEnabled (0 1 2 6 7 8)

*whew* I know that's only for a 3-brick cycle, but I ran out of oomph after doing that much :-P
Basically, the second namedBrick in each set of three events needs to be the brick from the last set.
Tell me if I need to elaborate more.

Do it how ever you feel comfortable, ill figure out how to use it lol.

Everything is done and works except for the box for which events to trigger. How should it work? Input the first and last event, a list of event integers separated by spaces?
???
the default style is separated by spaces
the VCE style is first and last

seems like this feels a bit more like VCE, since it's using a secondary event that it's triggering

VCE can actually do a lot more than start and end.
It can do < NUMBER, <= NUMBER, > NUMBER, >= NUMBER, == NUMBER, ~= NUMBER and != NUMBER.

VCE can actually do a lot more than start and end.
It can do < NUMBER, <= NUMBER, > NUMBER, >= NUMBER, == NUMBER, ~= NUMBER and != NUMBER.
I don't think you got his point. I think he meant for selecting which input events are triggered.

the VCE style is first and last
VCE can also do #,#,#,# or #, #, #, #

I don't think you got his point. I think he meant for selecting which input events are triggered.
He got the point very clearly. I think you missed his point.

He got the point very clearly. I think you missed his point.
That was the other possibility.

bump, is everything going ok with this?