Author Topic: New Event: [Unnamed]  (Read 593 times)

I don't know what a good name for this would be (ToggleEventEnabled is already taken), but I'd like something that would switch through events, but in a special way. Example: I want 0 and 1 off, but 2 on. When I press a button, I want it to turn 0 on and 2 off. When I press it again, I want 1 to be on, and 0 and 2 to be off. I was trying to make a button that did this (I've seen this before), but I couldn't get it. Sorry if this doesn't make sense, ask questions if it doesn't.

Do you mean like this? ([X] = enabled)

0   [X]      [ ]      [ ]      [ ]      [ ]      [X]      [X]
1   [X]      [X]      [ ]      [ ]      [ ]      [ ]      [X]
2   [ ]      [X]      [X]      [ ]      [ ]      [ ]      [ ]
3   [ ]  ->  [ ]  ->  [X]  ->  [X]  ->  [ ]  ->  [ ]  ->  [ ]
4   [ ]      [ ]      [ ]      [X]      [X]      [ ]      [ ]
5   [ ]      [ ]      [ ]      [ ]      [X]      [X]      [ ]
« Last Edit: November 26, 2009, 04:56:06 PM by Space Guy »

Sorry, you're gonna have to explain the thing to me. I understand the "X" = enabled, but I basically want it to only have (a) certain event(s) on at a time. Here, I'll try this. This is what I'm actually doing right now. I made a quick turret and I have a button that will turn it on and off. I also have another button that I want to toggle between the 3 firing modes. When I click that button I want it to make the turret fire normal bullet rounds, click it again to fire Gravity Cat's Sniper rifle rounds, and again to set it to fire SG-550 rounds. Remember, only one kind of round at a time.

Edit: I was thinking it could be set up like this:
Onactivate.Self.[Eventname] {1 2, 3 4, 5 6}
Or
Onactivate.Self.[Eventname] {1, 2, 3}

The top would be if you wanted to toggle between 3 sets of 2 events. The bottom would be to toggle between 3 sets of 1 event.
« Last Edit: November 26, 2009, 05:31:59 PM by Dapizzanator »

If I know what you are trying to talk about, you already can do that. Just have a toggle event toggle a different toggle event.

This could do something like when you click a brick, it will interchange between three different lights (using multiple toggle events), instead of just two (using one toggle event).

Will you post an example? Also, creating this would make people more lazy make it easier to do this.


Teh ansewer is in teh search.
ShiftEventEnabled.
Iz win.

<:O
Thanks so much!
Locking.