Home   Help Search Login Register  

Author Topic: Lights out.  (Read 448 times)

0 Members and 1 Guest are viewing this topic.

Bricktop

  • Guest
Lights out.
« on: 14 Jan 2004, 13:42:34 »
I have found the answer to this previously but no matter what I search I cannot find it now, so I apologise in advance as I know this is an easy one but I can't for the life of me remember! How do you switch off lights on a map (i.e. Town Lights Etc that are part of the map).

Thanks for your help

Bricktop

« Last Edit: 14 Jan 2004, 13:42:45 by Bricktop »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Lights out.
« Reply #1 on: 14 Jan 2004, 14:13:24 »
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

Bricktop

  • Guest
Re:Lights out.
« Reply #2 on: 14 Jan 2004, 14:24:13 »
Thanks Macguba ... much appreciated.

 ;D

Bricktop


DarkCell

  • Guest
Re:Lights out.
« Reply #3 on: 14 Jan 2004, 14:57:57 »
Only Addons contain Streetlamps and the problem is when I try to play A mission That has some Streetlamps and houses from the addon other player automaticly get Disconnect Due an Error >:(

I mean Streetlamps and the Houses from the addon are already in the OFP game but not in the Editor so Why do people get an error that they don't have the addon?
It's realy crap  >:(
So what is the use of addons if other people don't got it? :-\

Bricktop

  • Guest
Re:Lights out.
« Reply #4 on: 14 Jan 2004, 16:01:24 »
Welcome to OFP .... as much as I love it ... sometimes editing really gets me down. My biggest problem ... being told that I am missing DKMM_MOD when I have not included it in my mission thereby screwing up any dedicated server.


Good luck

Bricktop!