lamppost switchLight mode
Operand types:
lamppost: Object
mode: String
Type of returned value:
Nothing
Description:
Controls lamppost mode. Mode may be "ON", "OFF", "AUTO". "AUTO" is default, lampost is on only during nighttime.
Example:
nearestObject [player, "StreetLamp"] switchLight "Off"
comment »
macguba May 01, 2003, 13:48
Another example:
object 159582 switchlight "on"
Use lightIsOn to check the status of a lamppost.