File information

Last updated

Original upload

Created by

Zylice

Uploaded by

Zylice

Virus scan

Safe to use

3 comments

  1. Elricwolf
    Elricwolf
    • member
    • 2 kudos
    I have tried several times, making sure unpacking options were correct, but templightswitchscript.psc does not unpack correctly and comes out blank. Maybe there is an error in your archive.
    1. Homercide
      Homercide
      • premium
      • 125 kudos
      It extracts error free for me.Here's the code which you can copy and paste.

      Scriptname TempLightSwitchScript extends ObjectReference
      {Allows you to turn the lights on & off by pressing a button}

      ObjectReference Property MainLight Auto
      ObjectReference Property CandleOff Auto
      ObjectReference Property CandleOn Auto

      Event OnActivate(ObjectReference akActionRef)
      If (MainLight.IsEnabled())
      MainLight.disable()
      CandleOn.disable()
      CandleOff.enable()
      debug.notification("Lights are turned off.")
      Else
      MainLight.enable()
      CandleOn.enable()
      CandleOff.disable()
      debug.notification("Lights are turned on.")<-- smiley is a closing parenthesis
      EndIf
      EndEvent
    2. GammaThreve
      GammaThreve
      • member
      • 9 kudos
      I don't think Vortex is unpacking this mod correctly, because even though it says it's installed, consoling "coc zyresources" ingame does nothing. The cell is simply not there. I've tried with both 1.0 and 1.1.