Home   Help Search Login Register  

Author Topic: Switchlight is not working  (Read 540 times)

0 Members and 1 Guest are viewing this topic.

FFAK

  • Guest
Switchlight is not working
« on: 16 Dec 2002, 20:26:47 »
hello evdby

I've tried many command line put nothing works...(as shown in online scripting reference)

my streetlamp (res) is "off" :(

Who have an explicit tutorial? thanks!

(i've got OFP:R 1.90)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Switchlight is not working
« Reply #1 on: 17 Dec 2002, 00:31:42 »
Hey there, FFAK

Try:

(object ID) switchlight "off"

where ID is the number of your streetlight (get it by clicking the show ID's button and zooming in until you see numbers).

The syntax for switchlight in the command reference uses the nearestobject command, which was necessary before Resistance as there were no object ID's. There's actually two commands in there, which is why it was a bit confusing ;)