Home   Help Search Login Register  

Author Topic: street light  (Read 434 times)

0 Members and 1 Guest are viewing this topic.

FuseBox

  • Guest
street light
« on: 08 Apr 2003, 10:45:05 »
how do u turn off street lights in the game?

Plizkin

  • Guest
Re:street light
« Reply #1 on: 08 Apr 2003, 15:39:43 »
if you tell me, how to put them here, I`ll make a mission for you  ;D

mikeb

  • Guest
Re:street light
« Reply #2 on: 08 Apr 2003, 18:47:41 »
(lamppost) switchLight (mode)

Operand types:
    lamppost: Object
    mode: String
Type of returned value:
    None

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"

Or if you turn on the object id button in your editr you can find the number that corresponds to the particular lamp and put (where XXXX is the number):

(object XXXX) switchlight "OFF"

There you go