Blockland Forums > Suggestions & Requests
[Suggestion]-Brick Groups
Chrono:
--- Quote from: mp7964 on June 06, 2012, 07:40:27 PM ---Brick names function as brick groups for what you want.
Example:
Brick A is named richards
Brick B is named richards
Event brick C with
onActivate>NamedBrick[richards]>setColor
Bricks A and B are now red.
--- End quote ---
Yeah, except now you can't target A or B individually. You have to always target both of them.
Altiris:
I dont really get the point of this, you still have to go and name every brick again, or name one brick and dup it, but that would be the same as just having "Brick Name".
Chrono:
I don't understand how people don't get the point of this.
Let's say we have about... 5 bricks.
Brick 1
Name: A
Groups: Left, Game
Brick 2
Name: B
Groups: Left, Middle, Game
Brick 3
Name: C
Groups: Middle, Game
Brick 4
Name: D
Groups: Right, Middle, Game
Brick 5
Name: E
Groups: Right, Game
This way, when you do:
OnActivate -> BrickGroup: Right -> FireRelay
Only brick 4 and 5 are affected, and you can still do:
OnActivate -> BrickGroup: Game -> setEventEnabled -> [0 1 2 3 4] [/]
to affect all bricks, while still being able to do:
OnActivate -> NamedBrick: B -> setColor -> <Red>
to target a single brick.
Conservative:
--- Quote from: Chrono on June 07, 2012, 04:28:23 PM ---I don't understand how people don't get the point of this.
Let's say we have about... 5 bricks.
Brick 1
Name: A
Groups: Left, Game
Brick 2
Name: B
Groups: Left, Middle, Game
Brick 3
Name: C
Groups: Middle, Game
Brick 4
Name: D
Groups: Right, Middle, Game
Brick 5
Name: E
Groups: Right, Game
This way, when you do:
OnActivate -> BrickGroup: Right -> FireRelay
Only brick 4 and 5 are affected, and you can still do:
OnActivate -> BrickGroup: Game -> setEventEnabled -> [0 1 2 3 4] [/]
to affect all bricks, while still being able to do:
OnActivate -> NamedBrick: B -> setColor -> <Red>
to target a single brick.
--- End quote ---
Noww it makes sense
¥ola:
--- Quote from: Chrono on June 07, 2012, 04:28:23 PM ---I don't understand how people don't get the point of this.
Let's say we have about... 5 bricks.
Brick 1
Name: A
Groups: Left, Game
Brick 2
Name: B
Groups: Left, Middle, Game
Brick 3
Name: C
Groups: Middle, Game
Brick 4
Name: D
Groups: Right, Middle, Game
Brick 5
Name: E
Groups: Right, Game
This way, when you do:
OnActivate -> BrickGroup: Right -> FireRelay
Only brick 4 and 5 are affected, and you can still do:
OnActivate -> BrickGroup: Game -> setEventEnabled -> [0 1 2 3 4] [/]
to affect all bricks, while still being able to do:
OnActivate -> NamedBrick: B -> setColor -> <Red>
to target a single brick.
--- End quote ---
Thank you Chrono for saying what I was attempting to say.
Do you mind if I quote you in the OP?