XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

playing a cue randomly

Last post 03-20-2008 7:29 PM by Crookie Monstah. 1 replies.
  • 03-13-2008 7:09 AM

    playing a cue randomly

    Hi all,

    I need to trigger a cue randomly.
    Is it possible to do this through the XACT or do I need to write my own trigger-cue-randomly code?

  • 03-20-2008 7:29 PM In reply to

    Re: playing a cue randomly

    The best thing I can thing of is to fire the cue off at a regular interval and put a random offset to the time stamp on the playwave events.  That would make it sound like it was starting randomly.

    Playwave events are a few levels deep, cue->sound ->track ->playwave.

     

     

     

Page 1 of 1 (2 items) Previous Next