Blockland Forums > Suggestions & Requests

[EVENT] setEventEnabled but better

(1/4) > >>

SWAT One:
We have toggleEventEnabled, setEventEnabled, and shiftEventEnabled. The first toggles whether an event is enabled, and the last two set whether a list of events by line is either enabled or disabled, but no matter what, if there's events that trigger more than two options, it always requires ≥2 event lines for each choice, or >n lines of toggling for each n options.

I would like an event where it contains two large spaces for listing events by number, the first field enables all listed, and the second field disabled all listed. Additionally, there would be a check box after which if unchecked, defaults to disable event lines if the line number is present in both fields, and if checked, defaults to enable the line numbers if present in both fields.

That's it. It keeps everything clean and in one line, optimized for when you have more than two choices within the events.

phflack:
So it's just two setEventsEnabled events but in one line instead?

SWAT One:
Yep.

phflack:
neato, while looking through the set/toggle code it looks like you can use ALL to toggle/set all events on a brick instead of listing them

SWAT One:
So that would be just the text ALL? Also the op is requesting for players to define sets of numbers within the brick since not all of the events need to be enabled or disabled.

Suppose that events 0-15 are support events and events 16-40 are toggled choices. Shifting ALL might very well break the support events.

Navigation

[0] Message Index

[#] Next page

Go to full version