Welkynd420 Posted September 25, 2015 Share Posted September 25, 2015 Im pretty new to scripting. I only know how to do a few basic ones. Im trying to make an "activator" that when activated will enable/disable all of a specific lightID in the cell. Currently I have a bunch of lights that make the room dark. So the idea would be that on activating a switch these "dark lights" would be disabled, making the cell lighter. Any advice on where to start would be appreciated. Link to comment Share on other sites More sharing options...
Welkynd420 Posted September 26, 2015 Author Share Posted September 26, 2015 figured I might as well state what i've tried so far. begin disable_darklight short controlvar if ( onactivate == 1 ) if ( controlvar == 0 ) "darklight_1000"->disableset controlvar to 1 if ( controlvar == 1 ) "darklight_1000"->enableset controlvar to 0returnendifendifendif end Link to comment Share on other sites More sharing options...
Recommended Posts