Announcement

Collapse
No announcement yet.

Turn on/off lights Script?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Turn on/off lights Script?

    I'm working on an office tower(300 meter height) & Hotel (180m) ...we want to show to the clients a night shot...is there aleatory way to turn on/off lights? (about 1400 lights)

    thanks
    show me the money!!

  • #2
    off
    --------------------------------
    sel = lights as array
    for b=1 to sel.count do

    if not sel[b].istarget then
    (
    sel[b].enabled = false
    )
    else()
    -----------------------------------
    on
    ----------------------------------
    sel = lights as array
    for b=1 to sel.count do

    if not sel[b].istarget then
    (
    sel[b].enabled = true
    )
    else()

    ---------------------------------
    you can also turn off all the lights in the global switches
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment

    Working...
    X