Home   Help Search Login Register  

Author Topic: Street Lights  (Read 490 times)

0 Members and 1 Guest are viewing this topic.

ljej

  • Guest
Street Lights
« on: 29 May 2003, 07:09:15 »
How do you get them to light as the ones from the editor arnt lite.Thx

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Street Lights
« Reply #1 on: 29 May 2003, 10:26:32 »
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.
 
Plenty of reviewed ArmA missions for you to play

ljej

  • Guest
Re:Street Lights
« Reply #2 on: 30 May 2003, 00:45:30 »
Thank-you