About this video
Short tutorial for making a working light switch in the GECK for Fallout New Vegas and Fallout 3.
Script below: Change 'ExampleREF' to your lights REF's. Change 'ExampleScript' to your desired script name.
scn ExampleScript
Short LightsOn
Begin OnActivate
If LightsOn != 1
Example1REF.Enable
Example2REF.Enable
Example3REF.Enable
Example4REF.Enable
Set LightsOn to 1
Return
ElseIf LightsOn == 1
Example1REF.Disable
Example2REF.Disable
Example3REF.Disable
Example4REF.Disable
Set LightsOn to 0
Return
Endif
End
0 comments