First of all, how do I create a new script for this lightswitch -that is if I have to, and what would that script say in order for it to work. Also how do I go about linking both the light and the switch.
Please help. :blink:
thanks
scn LampActivatorSCPTRef rLightInt bLightsOnBegin OnReset If rLight rLight.Disable rLight.MarkForDelete ; [s]bloat[/s] Set rLight to 0 EndIfEndBegin OnActivate Set bLightsOn to (bLightsOn == 0) PlaySound ClickSOUN If bLightsOn If rLight rLight.Enable Else Set rLight to PlaceAtMe LIGH X Y Z EndIf Else rLight.Disable EndIfEndNothing needs to be persistent with that setup and one can skip the enable parentage part.