Jump to content
Sign in to follow this  
Ludovico Technique

Turning off all street lamps

Recommended Posts

Hi folks, I want to turn the lights off in a town. How do I go about doing this please? I hear it can be done, but couldn't find anything that worked so far.

Share this post


Link to post
Share on other sites

Place a GameLogic where in the middle of your city and add this to it's init:

{_x switchLight "OFF"} forEach ((getPos this) nearObjects ["StreetLamp",200]);

Change the "200" to whatever range you want.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×