Sound problem

Started by Yoku 3 posts 79 views

Reply on sbox.game
  1. #1
    Yoku 5
    When attempting to play a custom/cloud sound using Sound.Play(), the sound does not play, and the following error is displayed in the console:
     
    Couldn't find sound event sounds/1sound.vsnd
  2. #2
    Krisper Kris 40
    https://sbox.game/api/Sandbox.Sound/Play

    You must create a new sound event and call the event.
  3. #3
    Yoku Started this 5
    I figured it out, I needed to use soundEvent
    
    [Property] public List<SoundEvent> SoundsForDie { get; set; } = new List<SoundEvent>();