Home   Help Search Login Register  

Author Topic: lightIsOff object in an Island  (Read 677 times)

0 Members and 1 Guest are viewing this topic.

yankme

  • Guest
lightIsOff object in an Island
« on: 26 Dec 2005, 14:12:19 »
STT desert malden, is it possible to use a sensor of maybe lightIsOff object in a town "Arkasar'' to disable lights?

also i have a lag prob after my no.2 retry[savegame]. there is alot of looped wind on this island, ive removed dust from choppers, deletevehicles and the 9 yards. ive read macguba's quick guide to reducing lag aswell. ive even deleted all the ai. has anyone had probs with this island, its big but it loads fast,,,, iam lost ,,

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:lightIsOff object in an Island
« Reply #1 on: 26 Dec 2005, 15:17:52 »
By disable lights do you mean to turn the streetlights off?  If so you need to fing the object IDs of the street lamps and use the code

Code: [Select]
{(object _x) switchlight "OFF"} forEach [1251,2003,28419,28420,28424,28664,32938,37326,66997,66998,67026,90863]The above is what you need to for standard Malden to turn all the street lights off.

For your island you would need to find the street light IDs.

If that is what you need I have a script courtecy of Blanco that will help you find them

yankme

  • Guest
Re:lightIsOff object in an Island
« Reply #2 on: 30 Dec 2005, 02:10:58 »
yeah THobson, thats what i wanted, just didnt know how to do it. the island is STT desert malden,  i just need one base lite up, i beleave those numbers should work unless he changed them,,,, anyway i'll fine the IDs.
thank you

hey should i put that in init or script and will it cut lag with them off too?

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:lightIsOff object in an Island
« Reply #3 on: 30 Dec 2005, 04:17:35 »
Can you explain the lag problem a bit better.

What is this looped wind?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

yankme

  • Guest
Re:lightIsOff object in an Island
« Reply #4 on: 30 Dec 2005, 06:52:01 »
Architect,  there is wind in the island STT desert malden, i was in the mountains, ive now moved the scenario from the mountains.
visablity on my game was not set high, but now its fine. it also could have been two triggers contradicting each other. the ol case of throughing it together without testing more often  :P   STT desert malden is a good map

yankme

  • Guest
Re:lightIsOff object in an Island
« Reply #5 on: 30 Dec 2005, 14:59:36 »
THobson thank you ,,, works great!!!!  cheers Yank