Multiple Startup Movies?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • klee26
    Indigo Rose Customer
    • May 2005
    • 1

    Multiple Startup Movies?

    I have multiple video clips for use as a startup movie. I would like to have a random one of these play as the startup movie for my project. So they may get movie A or the next time they may get movie B or C, etc.

    Is there a way to accomplish this?
  • rhosk
    Indigo Rose Customer
    • Aug 2003
    • 1698

    #2
    I'll stab at this and say that it can be done with a separate app. Just brainstorming here, but if you tell the primary app to randomize a commandline argument to start one of the movies (let's say you have 5 movies - random 1-5)....I think you get the idea? Put all of your movies into one app (to accept CommandLineArg) and call from the primary.
    Regards,

    -Ron

    Music | Video | Pictures

    Comment

    • Brett
      Indigo Rose Staff Member
      • Jan 2000
      • 2000

      #3
      you could use the Dialog.SplashVideo action to show the video instead of using the intro video feature:

      Code:
      tblVideos = {};
      
      tblVideos[1] = {File="AutoPlay\\Videos\\Magnolia.mpg",Time = 11};
      tblVideos[2] = {File="AutoPlay\\Videos\\2-21-05.avi",Time = 27};
      
      local nNumVideos = Table.Count(tblVideos);
      
      local nRandomIndex = Math.Random(1,nNumVideos);
      
      Dialog.SplashVideo(tblVideos[nRandomIndex].File,tblVideos[nRandomIndex].Time);

      Comment

      Working...
      X