FANDOM


To set up a switch to control multiple Lights, you will need a minimum of 3 objects (a switch, a relay trap, and a light(s)).


This is for a light that will be ON initially and be turned OFF by a switch.


First create a light like HangSpotFlush (-2742)

Your created object will now be called A HangSpotFlush (AAA) - where AAA is a positive object number

Change these properties:

  • Set Renderer->Light: brightness:0 - this is how bright OFF is
  • Add S->Scripts: Script 0:AnimLight - this will allow it to turn on/off
  • Add Renderer->Anim Light:
    • Mode: smoothly brighten - it starts ON (gradually)
    • millisecs to brighten: 1000 - it will take 1 second to gradually come ON
    • millisecs to dim: 1000 - it will take 1 second to gradually turn OFF
    • max brightness: 120 - this is how bright ON is
  • Delete Renderer->Light: This is not used and is counted toward the maximum number allowed.

Second, create a fnord->TrapTrig->RelayTrap (-1704)

Your created relay trap will now be called A RelayTrap (BBB) - where BBB is a positive object number

  • Click Links on the bottom of the main window to add a link to your relay trap.
  • Click Add in the dialog box
    • Flavor: ControlDevice - don't pick the one with the "~"
    • From: BBB - where BBB is the positive object number of your relay trap
    • To: AAA - where AAA is the positive object number of your light

Third, create a Sliding On/Off (-449)

Your created object will now be called A Sliding On/Off (CCC) - where CCC is a positive object number

Change these properties:

  • Click Links on the bottom of the main window to add a link to your switch.
  • Click Add in the dialog box
    • Flavor: ControlDevice - don't pick the one with the "~"
    • From: CCC - where CCC is the positive object number of your switch
    • To: BBB - where BBB is the positive object number of your relay trap


To add more lights to the switch control, either create a new light(like in step one) or copy (Ins) your first light, then repeat the Add part of step two to connect it to the relay.


Now when you frob the switch it will send a turn-off signal to the relay-trap which will send a turn-off signal to all the lights it is linked to.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.