Author Topic: Event- ShiftEventEnabled  (Read 10252 times)

ShiftEventEnabled

Description:
This is a new event, shiftEventEnabled, what it does is it "shifts" the enabled states of events, for example,

We have 4 events enabled/disabled in this pattern: 0 1 0 0.
Now after you shift them: 0 0 1 0.

This also comes with a checkbox indicating to not loop.
Example of it: 0 0 0 1 goes to 0 0 0 0 instead of 1 0 0 0.

Features:

  • One output event: shiftEventEnabled.
    • Textbox for list of events.
    • Checkbox to indicate not to loop.

Download:
Link: shiftEventEnabled

Credits:
  • E_net4- The idea of shiftEventEnabled.
  • Clockturn- The checkbox idea.
« Last Edit: August 31, 2008, 07:52:45 AM by NiXiLL »


i dont realy get it T_T so what is it.

Used to make it so that you press the button once and it disables the enabled event and enables the next one in the list. It can save you a hell of a lot of SetEventEnabled/ToggleEventEnabled.

A fun game:
Put a whole heap of player effects OnActivate on a block, disable all except one and put all their numbers into a ShiftEvenEnabled list. Every time you press it, it cycles to a new effect, then get a whole bunch of people to take turns pressing it. Last person alive wins :3

So this could be used for single button lights and maby keypads.

So this could be used for single button lights and maby keypads.
Yup. You can make it cycle a whole bunch of lights, using this.


I made up this idea when I was trying to cycle between 3 lights in a brick. Be sure that this event will bring you tons of new possiblities.

NIXILL this is freaking awesome
its usefull like ToggleEvenEnable

its switch the next event enable, and the behind disable
so you can make a daisy chain of events
Thanks
i realy did need a event like that

Shweet, i got some ideaz for this :D, thanks  :cookie: :cookie: :cookie:


Wee! now i can make a rainbow brick, thanks.
Warning - while you were typing a new reply has been posted. You may wish to review your post.

Hmmm...
I like.
DL'ing.

NIXILL this is freaking awesome
its usefull like ToggleEvenEnable

its switch the next event enable, and the behind disable
so you can make a daisy chain of events
Thanks
i realy did need a event like that

BAC <3

I don't really have use of this, why can't people just ToggleEventEnabled?