Difference between revisions of "Talk:Light Switch"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>M3rvin
(Created page with "Are there any restrictions concerning using this script in a mod? I published such a mod [http://skyrim.nexusmods.com/downloads/file.php?id=14894 Automatic Light Switch] and I...")
 
imported>Samv96UK
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Restrictions==
Are there any restrictions concerning using this script in a mod?
Are there any restrictions concerning using this script in a mod?
I published such a mod [http://skyrim.nexusmods.com/downloads/file.php?id=14894 Automatic Light Switch] and I doesn't seem that Cipscis will anser my pm soon (he hasn't been online on the nexus site for about a month). In addition to that I didn't found any rules/guidelines for using wiki example scripts in one's mods. I'd like to point out that I described this situation in the description of the mod. --[[User:M3rvin|M3rvin]] 20:32, 10 April 2012 (EDT)
I published such a mod [http://skyrim.nexusmods.com/downloads/file.php?id=14894 Automatic Light Switch] and I doesn't seem that Cipscis will anser my pm soon (he hasn't been online on the nexus site for about a month). In addition to that I didn't found any rules/guidelines for using wiki example scripts in one's mods. I'd like to point out that I described this situation in the description of the mod. -- [[User:M3rvin|M3rvin]] 20:32, 10 April 2012 (EDT)
 
: Hey, Cipscis here. Sorry about the Nexus inactivity - I've been pretty slack on my correspondence lately.
 
: To answer your question, I place no restrictions whatsoever on this script. You can use it or any part of it, or tear it apart and rebuild it, or reverse engineer it, or do pretty much anything you like (with some hopefully obvious exceptions like selling it) with it without needing to ask permission or give credit.
 
: -- [[User:Cipscis|Cipscis]] 20:38, 10 April 2012 (EDT)
 
== Attached Script to ImpButton01, but does not work ==
 
Followed the instructions but the button disappears when I click it, no effect at all to the light it is supposed to turn on and off (EnableMarker).  Has anyone gotten this script to work? --[[User:Caballero|Caballero]] 23:30, 11 April 2012 (EDT)
 
: Try replacing ''Disable()'' with ''EnableMarker.Disable()'' and ''Enable()'' with ''EnableMarker.Enable()'' -- [[User:M3rvin|M3rvin]] 15:17, 12 April 2012 (EDT)
:: It works!  Thanks so much!--[[User:Caballero|Caballero]] 17:08, 14 April 2012 (EDT)
 
 
==Attatxhing this script to Objects?==
 
Hi there, I was wondering if any of you know how to attatch this script to an object.
 
Basically, I am making a new mod in the Creation kit, which is a city. I have several lanterns around the streets (The candle on version) and was wondering if I could apply this script somehow to make the object change to the lantern that doesn't have a lit candle in it.
 
It's the same situation with the windows. I'm using "impextwindowglow" or something and i want to be able to change them to "impextwindowdark" during the day, so there is no glow from the windows.
 
Thanks in advance [[User:Samv96UK|Samv96UK]] 02:54, 31 May 2012 (EDT)

Latest revision as of 01:54, 31 May 2012

Restrictions[edit source]

Are there any restrictions concerning using this script in a mod? I published such a mod Automatic Light Switch and I doesn't seem that Cipscis will anser my pm soon (he hasn't been online on the nexus site for about a month). In addition to that I didn't found any rules/guidelines for using wiki example scripts in one's mods. I'd like to point out that I described this situation in the description of the mod. -- M3rvin 20:32, 10 April 2012 (EDT)

Hey, Cipscis here. Sorry about the Nexus inactivity - I've been pretty slack on my correspondence lately.
To answer your question, I place no restrictions whatsoever on this script. You can use it or any part of it, or tear it apart and rebuild it, or reverse engineer it, or do pretty much anything you like (with some hopefully obvious exceptions like selling it) with it without needing to ask permission or give credit.
-- Cipscis 20:38, 10 April 2012 (EDT)

Attached Script to ImpButton01, but does not work[edit source]

Followed the instructions but the button disappears when I click it, no effect at all to the light it is supposed to turn on and off (EnableMarker). Has anyone gotten this script to work? --Caballero 23:30, 11 April 2012 (EDT)

Try replacing Disable() with EnableMarker.Disable() and Enable() with EnableMarker.Enable() -- M3rvin 15:17, 12 April 2012 (EDT)
It works! Thanks so much!--Caballero 17:08, 14 April 2012 (EDT)


Attatxhing this script to Objects?[edit source]

Hi there, I was wondering if any of you know how to attatch this script to an object.

Basically, I am making a new mod in the Creation kit, which is a city. I have several lanterns around the streets (The candle on version) and was wondering if I could apply this script somehow to make the object change to the lantern that doesn't have a lit candle in it.

It's the same situation with the windows. I'm using "impextwindowglow" or something and i want to be able to change them to "impextwindowdark" during the day, so there is no glow from the windows.

Thanks in advance Samv96UK 02:54, 31 May 2012 (EDT)