OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: ChEB on 16 Oct 2004, 02:05:33

Title: how do i get lights to work
Post by: ChEB on 16 Oct 2004, 02:05:33
in the mission editor is there anyway to get addon lights such to come on automaticly.  It seems in order to use them i have to light them
Title: Re:how do i get lights to work
Post by: Planck on 16 Oct 2004, 04:35:34
You can switch the lights on by putting:

this switchlight "on"

in the lights init field.

Other options are:

this switchlight "off"
this switchlight "auto"

"Auto" means the lights are switched on automatically when it gets dark........and off again when day breaks.

However, you may not like the result.
Lights placed in the Mission Editor don't work properly.
The light source appears half way up the length of the lampost.
Lights which are part of an island .wrp file work ok.


Planck