Command for all objects?

Devis
07 Jun 2012, 10:12
Is there a script command to group all objects. I'm trying to make a command that sets all scenery variables to false at once without having to list each object and set its scenery variable to false.

At the moment I'm using "object.scenery=false" and listing each object like this...

Is there a command like "all.scenery=false?" or something like that?

Pertex
07 Jun 2012, 14:24
You can do it this way:
scenery.png


But then you will have a problem, if you want to set the objects back to scenery. In this case you must save the name of the original scenery objects

Devis
07 Jun 2012, 16:42
Thanks for that! Works fine and I dont think I need it to switch back for now so its ok like this! :)