Jump to content
Sign in to follow this  
Alpha1

How to turn on the street light?

Recommended Posts

Someone please teach me the code to turn on the street light at night.. I can't find it anywhere sad.gif . Thanks.

Share this post


Link to post
Share on other sites

in the init field type this inflame true

although i think with gunslinger's you have to add a light source or something...some street lamp addon the inflame works

Share this post


Link to post
Share on other sites

Something I noticed about the streetlights:

When you use the inflame true command, the streetlights are a bit like fires. They flicker, I guess you don't see this so good from a longer distance, but close to it, you can.

Also, If you are in a town that already has StreetLights, then they go automaticlly on at Night.

Share this post


Link to post
Share on other sites

Controls lamppost mode. Mode may be "ON", "OFF", "AUTO". "AUTO" is default, lampost is on only during nighttime.

Example:

nearestObject [player, "StreetLamp"] switchLight "Off"

taken from the official comref

Share this post


Link to post
Share on other sites

Thanks everyone, it work well wink.gif with the code: this inflame true. I haven't try nearestObject [player, "StreetLamp"] switchLight "Off" yet but hopefuly it will too.

Thanks again.

Alpha1

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  

×