Author Topic: Light command  (Read 1056 times)

Hey does anyone know the command to see all emitters, particles, and lights through walls and blocks? I am looking to take some trippy screenshots with weird lighting

emitters and particles go through blocks, and will render if there is no translucent or opaque block between you and the source. lights will emit through walls, but the flare (if any) will be blocked if the brick in between has raycasting on.

But I want to do it on a bigger-scaled build, so I can't just unraycast it all, I'd like to just simply type this command, I know it exist but I forgot it

The 'command' is really just to unraycast it all.

for(%x=0;%x<mainBrickGroup.getCount();%x++){for(%y=0;%y<(%bg=mainBrickGroup.getObject(%x)).getCount();%y++){%bg.getObject(%y).setRaycasting(0);}}

And so that will make every brick to allow lights, emitters, and others to pass through?

The command wouldn't work

You have to be the host of a non-dedicated, or enter that with eval("<code here>"); on a dedicated.

See I'm looking for it to work on servers too, I know it's possible though

We shouldn't delve into that, potential gamemode abuse.