Scriptname NNWLichtSchalterSkript extends ObjectReference  
{enable OR disable linked ref on activate}

	EVENT OnActivate (objectReference akActionRef)

	ObjectReference myRef = GetLinkedRef()
		
			if(myRef.IsDisabled())
				myRef.Enable()
			else
				myRef.Disable()
			endif
	EndEvent