first time poster and Blender novice here. I am trying to use Geometry Nodes in Blender 3.1.2 to extrude subdivided faces of a cube at random to make something like a Borg Cube. Then, still using geo nodes, I want to apply a glowing/emissive material to randomly chosen "little cubes" on all 4 of their sides (If they are not chosen by the random number generator then I do not want that extrusion to have any glowing faces. This way it makes it look like some of the small cubes can glow on their sides while others cannot glow at all.) A quick example image of what I have so far:
The problem with that image above is that I am simply scattering glowing faces randomly across the sides of the extrusions. They aren't grouped up in any way. I would really like to group them up based on randomly chose top faces but I am having a hard time mapping the effect. For further clarity if my goal doesn't make sense yet:
Am I going in the right direction trying to use Transfer Attribute to map the 'Side' output of the Extrude Mesh node to a randomized index of the cube's faces? Is there something wrong with my Index node? Multiplying by it seems to dristribute the emissive material all over, including on my top faces. What nodes should I be using to do this kind of material mapping (if it's possible at all). It seems like I'm just barely missing something and could not find any info on the web after hours of searching and trying all day. I would be so relieved to get some guidance and thoughts.
Lastly, for what it's worth, here is my original node tree set up, with very similar output results as my current: