Results 1 to 3 of 3

Thread: Sound played at the outbreak.

  1. #1
    Private
    Join Date
    Aug 2012
    Posts
    78
    Thanks
    20
    Thanked 10 Times in 5 Posts

    Sound played at the outbreak.

    How to play a sound at a given location?
    I mean the explosion caused bulletTrace, explosion does not have any model...

    Please help me someone.

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    You can look at std/utils::playSoundOnPosition

    Code:
    playSoundOnPosition(position, name)
    {
        ent = spawn("script_origin", position);
        ent playSound(name);
        ent delete();
    }
    timescale 0.01

  3. The Following User Says Thank You to kung foo man For This Useful Post:

    Moczulak (5th February 2013)

  4. #3
    Private
    Join Date
    Aug 2012
    Posts
    78
    Thanks
    20
    Thanked 10 Times in 5 Posts
    Very thanks ,really You are good man

Posting Permissions

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