If its not too much trouble, can someone please turn this 2.49 script into a 2.54 script. Or, better yet, tell me where I can find a BGE API reference.
I think you made a few mistakes there. angVel and linVel are vectors, so they consist of three values. You can’t compare that to one value. Also you have
cont.activate("Spark")
but I think it should be without quotation marks :rolleyes: