OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Stu35 on 27 Jan 2006, 01:22:38

Title: Turning off the lights in villages?
Post by: Stu35 on 27 Jan 2006, 01:22:38
This is irritating the hell out of me, because i distinctly recall being able to do this back in the old days, but i've forgotten the skill.

How on earth do i go about turning off the streetlights in the various villages in maps? Specifically, Everon and Saint Phillippe, because i don't recall in the slightest how to do it, just that it can be done.

Of course, that said, i only recall doing it on Nogova...

Anyway, if anybody can point me in the general direction i'd appreciate it, because looking round the site and the forums i've found naff all.
Title: Re:Turning off the lights in villages?
Post by: bedges on 27 Jan 2006, 01:59:08
in the editor, switch on 'show id'. find the streetlight. note its number. then use

Code: [Select]
(object xyz) switchlight "off"
Title: Re:Turning off the lights in villages?
Post by: Stu35 on 27 Jan 2006, 02:18:02
Cheers mate, it's been too bloody long.