Quote: "Hmmmm, and here I thought no body was answering because no body quite understood what it is he is asking for"
I think I know what he is asking...
He wants a character to spawn if the light is turned off then back on.
Quote: "That doesn't sound like something that has been answered before.
bubazar, could try to explain a little better what you are wanting to happen here? "
So, you don't know what he is asking for but it sounds like it hasn't been answered before.
OOOOOOOk
Ok don't search, but I am pretty sure that spawning characters and scripting lights have both been covered before.
But I could tell him how, then you can write the script for him, then he won't have to search.
Place the character in the editor.
Right click him, then...
Change his Name to something unique and...
Set his SPAWN AT START to NO and...
Set his MAXIMUM SPAWN to 1.
Now, place your light and a switch in the editor.
Put the Name of the character into the IFUSED field of your switch.
Now, you need to have a script for your switch that has a...
plrusingaction=1:activateifused=1
at the point in the script that the light comes back on.
You can name the light the same as the character and the switch will activate them both.
Once activated, the character will spawn and the light will come back on.
The switch will activateifused=0 when the light goes off, but the character won't spawn until the activateifused=1 is called, which will be the same call that turns the light back on.
This of course would also require the light to be on at the start.
I was kidding about writing the script...
You could use the good old SWITCH.FPI as long as you make a simple change.
It has the activatefused=1 before the activateifused=0
Reverse that order since we will be turning the light off then on, not on then off.
You need to edit your light's script too snice it turns lights on when activated=0, and turn off when activated=1 ( reverse that too / 0=off and 1=on )
You could leave both scripts alone, but then he would spawn when the light goes out, not when it goes back on.
Have Fun
Feel Free to correct anything that I left out or overlooked Plystire, but I'm pretty sure this will work.
Here is a final suggestion for our new user friend...
Try to title your threads so that future searches by other people would return the thread as a result of a search.
No one will ever find this thread if they search for lights,switches, or spawns because of its "Help Me Please!" title.
That is another reason that I wanted him to search rather than posting the answer here.