Results 1 to 10 of 17

Thread: Play random music

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Nov 2019
    Posts
    22
    Thanks
    2
    Thanked 3 Times in 3 Posts
    ... I talking about random sounds in the whole topic. I don't want to just play one sound... That's why I need to use random() because I will add about 5-6 sounds and want to play randomly from that 5-6 sounds.

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by Toxys View Post
    ... I talking about random sounds in the whole topic. I don't want to just play one sound... That's why I need to use random() because I will add about 5-6 sounds and want to play randomly from that 5-6 sounds.
    which
    is
    what
    the
    sequence
    thing
    is
    for
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by Toxys View Post
    ... I talking about random sounds in the whole topic. I don't want to just play one sound... That's why I need to use random() because I will add about 5-6 sounds and want to play randomly from that 5-6 sounds.
    MEEEEEEEEEEEEEEEN
    if you using .csv from voron, need ONLY
    Quote Originally Posted by maxdamage99 View Post
    use
    PHP Code:
    ambientPlay("dr_music"); //example from Voron
    //
    self playLocalSound("dr_music"); 
    you no need use random()
    pls check in game, test, before write some ok?
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •