dkraver 1 Posted November 26, 2001 What do i write in ini field to have a streetlamp turned on Share this post Link to post Share on other sites
Mercutio 0 Posted November 26, 2001 "this InFlame true". That should to the trick. Share this post Link to post Share on other sites
Fenris 0 Posted November 26, 2001 Thought that only worked for fires, how would you place, or light a streetlight? For a fire I'd place it as a unit and then in the init field type the - this inflame true - statement. How does it work for fixed lights? Cheers! Share this post Link to post Share on other sites
dkraver 1 Posted November 26, 2001 Well it didnt work so help still needed Share this post Link to post Share on other sites
Mercutio 0 Posted November 26, 2001 Fenris, you have download them, it was an addon they used to have at OFP Ed Center. It may be in Kegetys object files now. Otherwise, I dunno where you can get it. Raver, I'm gonna try it now and get back 2 u. Share this post Link to post Share on other sites
Maldita Vecindad 1 Posted November 26, 2001 you need the kegetys & Armourdave addon..... That addon includes new lamps (not the ones that come with the gunslinger's editor). that let you turn them on. Check the read me at the addon or go to: www.ofpeditingcenter. for more help. Share this post Link to post Share on other sites
PlaneShifter 0 Posted November 26, 2001 The commands that work with the streetlights are lightIsOn and switchLight. Ex: ? lightIsOn nearestObject [player, "StreetLamp"] == "OFF" nearestObject [player, "StreetLamp"] switchLight "OFF" This is as described in the official command reference. BTW, changing the lamp state in-game is a little slow, so give it a minute if the light doesn't turn on instantly. - PlaneShifter - (Edited by PlaneShifter at 11:33 pm on Nov. 26, 2001) Share this post Link to post Share on other sites
MJM0771 0 Posted November 26, 2001 DKraver, Whats your email address? I'll send them to you. I think there's three kinds: streetlamp-white, red, and green. Share this post Link to post Share on other sites
dkraver 1 Posted November 27, 2001 planeshifter i tried both and nothing works. The line with lightison says there are missing = and with other one nothing happends at all. Share this post Link to post Share on other sites
ScreamingWithNoSound 0 Posted November 29, 2001 If you're talking about street lamps that are there already, they are set to 'Auto' they have a light sensetive diode, that automatically turns the light on when it goes dark. If you want to explicitly turn on/off a lamp post, create a 'Game Logic' object near the lamp post and in it's init field, place: (copied from command reference) nearestObject [player, "StreetLamp"] switchLight "Off" this turns the nearest lamp post off. Change "Off" to "On" to turn it back on. Methinks this is the kind of thing that the Game Logic is for - for executing commands and scripts as soon as the mission starts, rather than using a trigger with some wierd way of automatically setting it off... Share this post Link to post Share on other sites
PlaneShifter 0 Posted November 30, 2001 Game logic is used mainly to determine the server computer -- if the game logic unit is local, then the computer is the server. To make a trigger that goes off at the start of the mission, set its condition to "true". BTW, the streetlight will appear off during the day, no matter what. There is no way (that I know of) to make a streetlight appear to be on during daylight hours. - PlaneShifter - (Edited by PlaneShifter at 6:41 am on Nov. 30, 2001) Share this post Link to post Share on other sites