I was writing a Python script for the Blender Game Engine, and I noticed that any time I imported a module other than the bge, the rest of my script wouldn't run. I was planning on using the random module to place my enemies in random positions throughout the game. If you could explain how to get around this problem, that would be great!

  • $\begingroup$ The script will stop at an error, is there any error output in the console? Maybe the module name has a typo. $\endgroup$ – sambler Mar 10 '15 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.