Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

js100serch

Allies
  • Posts

    4
  • Joined

  • Last visited

js100serch's Achievements

Layman

Layman (1/11)

1

Reputation

  1. Hi and huge thanks for the help both of you ladyonthemoon and Contrathetix What is that "class room" all about? isn't this a regular forum? O.o Contrathetix It works like a charm. But is it possible to add some a delay to the lights, they activate instantly O.o Look my mod is not kind of a big deal but I would like to credit you once I launch it. You are the 3rd person who helps me with scripting stuff. Let me know if you want credit for this.
  2. This is the script I'm using to basically just turn a light on/off or simply change the color from Red to Green. ScriptName LightSwitch extends ObjectReference {Controls a set of lights with a master enable parent marker (EnableMarker) and a switch with this script attached to turn on and off when the switch is activated} ObjectReference Property EnableMarker auto {The marker set as the enable parent of all the lights} Event OnInit() If (EnableMarker.IsDisabled()) GoToState("LightsOff") Else GoToState("LightsOn") EndIf EndEvent State LightsOff Event OnBeginState() EnableMarker.Disable() EndEvent Event OnActivate(ObjectReference akActionRef) GoToState("LightsOn") EndEvent EndState State LightsOn Event OnBeginState() EnableMarker.Enable() EndEvent Event OnActivate(ObjectReference akActionRef) GoToState("LightsOff") EndEvent EndState ScreenShot12.bmp
  3. Hi everyone. Well I don't know nothing about scripting. What I want to do is to have a switch that cycles through 3 different lights. "Red, Green, Blue, Red, Green, Blue and so on...". I already have the regular light switch that turns on and off a light I can use that to have two lights Red and Green but I need to ad the Blue one but I have no idea of how to do it. Can you help me?. Thanks =D
×
×
  • Create New...