I’m trying to make a horror level, and I was wondering if it was possible to script a trigger to activate when a spotlight enters the trigger box, or would I have to have a tiny little object inside the light to trigger it? And if it is possible, how could I go about scripting it?
Sorry, but your question is too broad, and this is not the place to ask for scripts. Unity Answers and its community is here to help you solve any Unity-related problems you have, not give away free code. If you don’t know how to write code, I suggest learning Unity’s Java Script (its really easy), but if you don’t have time, or whatever, then you can try asking your question on the Unity Forums. I hope you can get an answer!
Also, use google. Do tutorials, and learn how to use Unity.
Here is a list of tutorials to get you going :
Start at the bottom and work up : Unity 3D Student - 3d Modelling
this is the YouTube link for the above as one playlist : Unity Tutorials - Essentials 00 - Projects - Unity3DStudent.com - YouTube
the Unity Wiki : http://wiki.unity3d.com/index.php/Tutorials
A list of resources : How can I start learning Unity fast? ( List Of Tutorials ) - Unity Answers Helpful page with information on using Built-In Arrays and Lists :
The unity wiki link above is very handy with lots of scripts and shaders too (just check out all the links down the left, and the tabs along the top : http://wiki.unity3d.com/index.php/Scripts )
Here is a video on using Unity Answers : http://video.unity3d.com/video/7720450/tutorials-using-unity-answers
the FAQ appears just to the right of this page also : Frequently Asked Questions - Unity Answers