Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Playing a random sound out of 10 sounds?

Discussion in 'Scripting' started by NoNameAvailable, Mar 29, 2013.

  1. NoNameAvailable

    NoNameAvailable

    Joined:
    Feb 12, 2013
    Posts:
    9
    Hello, so I'm developing a short FPS horror game called "The Lost". I'm definitely not a coder. I'm more of a modeler / level design. So now I need some quick help from the COMMUNITY :D

    I'll be asking questions here, here and there.

    Okay, so now. I have about 10 sounds in a folder. (Footsteps, Screams, Breathing, Laughing, etc.) and now I need to figure out how you make them play randomly at selected times e.g, playing a scream every 35 seconds or so.

    I really need some help :/ I really want to learn how to code lol.
     
  2. Kinos141

    Kinos141

    Joined:
    Jun 22, 2011
    Posts:
    969
    Get playmaker. Just get it.
     
  3. NoNameAvailable

    NoNameAvailable

    Joined:
    Feb 12, 2013
    Posts:
    9
    Why? Game maker looks horrid.
     
  4. hpjohn

    hpjohn

    Joined:
    Aug 14, 2012
    Posts:
    2,190
  5. EliteMossy

    EliteMossy

    Joined:
    Dec 2, 2012
    Posts:
    513