I have one last thing I need to happen in this script, and I can't figure out how to do it. Any help is greatly appreciated. Please keep in mind I'm not a guru, so... if you can, lay it out in simple terms.
On to the problem. I want a script to run when the player enters the cell. No problem! Piece of cake! But I also want it to run at least once when the player leaves the cell. Everything I've tried fails. I think I need to link it to a quest, then have the quest run the script as often as I need. But the problem with that is that I want it to run once as soon as I leave the cell, and start back up if I return. Like a light switch that detects movement. When you go in, the light comes on, if you leave and come back a short while later, the lights are off and come on again.
I have the script in an actuator so I can keep some ref data. That may be good or bad, I'm just letting you know.
Thanks in advance!