Home   Help Search Login Register  

Author Topic: Streetlight  (Read 946 times)

0 Members and 1 Guest are viewing this topic.

DoDgY

  • Guest
Streetlight
« on: 30 Oct 2005, 15:30:57 »
I have a very quick question to ask. I searched and have definitely seen topics on this before but I couldn't come up with anything.

In the town of Laruns in Everon there is a streetlight that I want to turn off (setdamage 1, I guess) when a trigger is activated.

The streetlight's ID is 8191 but I can't find a way to turn it off. I've tried the nearestobject and nearestbuilding commands but they don't seem to work the way I'm doing it. I've probably done it wrong.

The light I want to "turn off" is built into the map and not an addon.

Is there any way of doing this?

Thanks.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Streetlight
« Reply #1 on: 30 Oct 2005, 15:32:37 »
(object 8191) switchlight "OFF"

DoDgY

  • Guest
Re:Streetlight
« Reply #2 on: 30 Oct 2005, 15:39:18 »
Just found it and wanted to reply to say so. Thanks anyway.