I need a teleporter from location A to location B, but there isn't a clear route between the two. So I use the kill-and-forced-respawn type teleporter:
Obviously an event (OnObjectKill, a lever object) triggers this. The beginning goes ObObjectKill(lever, person), so person is the one who kills the lever. My problem is that it doesn't work, and I get a CTD with nothing in the error log about it. Thoughts? I'm certain it's the SelectCharacterClass that's the problem....but the three stock scripts that the Example Finder dredged up weren't much help.
I'm having quite a lot of trouble with LUA lately.
