xboxscene.org forums

Author Topic: Autoexec.py  (Read 161 times)

Laugh Out Loud

  • Archived User
  • Jr. Member
  • *
  • Posts: 67
Autoexec.py
« on: July 16, 2005, 08:27:00 PM »

Is it possible to laod more than 1 script during startup?

Im trying to run the startup video script, as well as load a random song on startup. However, the result is a crash. If its not possible, then is there another way around this problem?
Logged

nuka1195

  • Archived User
  • Sr. Member
  • *
  • Posts: 290
Autoexec.py
« Reply #1 on: July 17, 2005, 06:03:00 AM »

You could try putting a sleep(t) between them.

#put this at the top of the file
from time import sleep

#put this between the two script calls
sleep(1)

maybe increase or decrease til it works good. This is untested, so it may not work.
Logged