OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: CBFASI on 21 Aug 2002, 17:32:22

Title: Removing night lights of fixed weapons!!
Post by: CBFASI on 21 Aug 2002, 17:32:22
Does anyone know how to get rid of those lights that come on when you man machines guns and similiar, its really annoying to make a mission and be able to spot every machine gun position becuase of the light coming from it.

I thinks its a cpp problem but am not sure..
Title: Re:Removing night lights of fixed weapons!!
Post by: tai mai shu on 22 Aug 2002, 11:36:05
erm, in the mg's init field, put; this setbehaviour "STEALTH"

should work
Title: Re:Removing night lights of fixed weapons!!
Post by: CBFASI on 22 Aug 2002, 12:58:13
Nope that didn't work.

I find even if I man the weapon I cannot control wether the light is on of off.

I do know the answer was in the old forum so somone knows the answer...
Title: Re:Removing night lights of fixed weapons!!
Post by: tai mai shu on 23 Aug 2002, 01:54:26
um, you should be able to control lights on m2, at least i can, might be a bug in your ofp, you might need a fresh install...
Title: Re:Removing night lights of fixed weapons!!
Post by: FlidMerchant on 26 Aug 2002, 19:00:21
setbehaviour "stealth" doesn't work.Even this[action "lightoff"] doesn't work, although you should be able to turn the light off when yu man it.
Title: Re:Removing night lights of fixed weapons!!
Post by: CBFASI on 26 Aug 2002, 19:52:32
Yeah thats my problem too, its ok if I man the guns but not for the AI
Title: Re:Removing night lights of fixed weapons!!
Post by: Messiah on 26 Aug 2002, 21:31:02
maybe because the proper syntax is:

unitname action ["lightoff"]