Home   Help Search Login Register  

Author Topic: Help With Street lights Pleeeeeezzzzz  (Read 1009 times)

0 Members and 1 Guest are viewing this topic.

ljej

  • Guest
Help With Street lights Pleeeeeezzzzz
« on: 30 May 2003, 05:17:17 »
I need help making them be lite ive used
object 159582 switchlight "on"  and nearestObject [player, "StreetLamp"] switchLight "Off" or on etc   these dont seem to work i am using resistance 1.91 , or i need a mission where i can merge a light that works i am trying to light up a base so any help would be great many thx in advance.

B-2-0

  • Guest
Re:Help With Street lights Pleeeeeezzzzz
« Reply #1 on: 30 May 2003, 07:58:20 »
Are you talking about a streetlight already on a map or one u have put in??

In map:
object 159582 switchlight "on"
...in init.sqs


Placed by you:
this inflame true
...in light's init field

Both work fine for me :)
« Last Edit: 30 May 2003, 07:58:49 by B-2-0 »

ljej

  • Guest
Re:Help With Street lights Pleeeeeezzzzz
« Reply #2 on: 30 May 2003, 10:50:17 »
Tried those still doesnt work is it becsuse i preview it in the editor?
i am useing a light i place any help would be great.Tia

ocnick

  • Guest
Re:Help With Street lights Pleeeeeezzzzz
« Reply #3 on: 30 May 2003, 15:53:37 »
If you're using a streetlamp you put int, the

this inflame true

should work.  I dont know about the switchlight "on" command.

B-2-0

  • Guest
Re:Help With Street lights Pleeeeeezzzzz
« Reply #4 on: 30 May 2003, 23:52:24 »
Are u sure it's dark enough to see the light is on??  Streetlights are not visible during daylight!

It can't be anything else except for a dodgy addon i s'pose! :-\

gadolinite

  • Guest
Re:Help With Street lights Pleeeeeezzzzz
« Reply #5 on: 31 May 2003, 22:14:17 »
A streetlight gets to be very sketcky at times.  

Here is what may be your secret...

When you control a streetlight with a player, that light has to be switched on or off when the mission begins, otherwise your setup will not work at all or be very unreliable.  

I myself don't reccomend the streetlight addon.  

 8)And I do think streetlights are fun, you have to play around with them so you can learn how they work.