OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ozma on 02 Feb 2003, 04:35:17

Title: lighting questions
Post by: ozma on 02 Feb 2003, 04:35:17
first of all, how do you make streetlamps lighted up...ive tried the inflame true thing...

also, does anybody know how i can make it to where it is nighttime, but the inside of a house is lighted up?

any help would be great...thanks...
Title: Re:lighting questions
Post by: Jester on 02 Feb 2003, 05:10:29
do a search for the streetlamps , I know there are some post's about it, once you find it , to make a house light up do this to the streetlamp..........zoom way up in the editor and place a streetlamp right in the house, and in the init field put..............

this SetPos[getpos this select 0,getpos this select 1,DesiredHeight]

DesiredHeight is how much you want to raise the object. You can also use a negative value to lower an object.

-1 is about a meter or 3 feet I believe, so try, -4 in the DesiredHeight

I just searched and found this.........

To turn them on = this inflame true
to turn them off = this inflame false
Title: Re:lighting questions
Post by: Jester on 02 Feb 2003, 20:55:50
I forgot to add, if these streetlamps are the ones that are built in the islands, I wouldn't mess with them............Just shot them out. If they are the addon ones then use the code I mentioned B4...........CHEERS !