The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating sounds?
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#1
Creating sounds?

Hey guys, yep it's me again.

It is my first time creating a map and my first time im working with scripting.
My second map of my cs is almost done.

All i need is an area that, when the player walks into it, starts the sound of a grunt and lets the sound run for about 10 seconds and then fades out again.


I've been looking around on the script site, i found two voids that might do the trick, but before doing anything i would like know from you guys if i have found the right voids.

The two i found was:

void FadeInSound(string& asSoundName, float afFadeTime, bool abPlayStart);


and

void StopSound(string& asSoundName, float afFadeTime);

I like to know if it are those two i have to use, and if it is how to set them up.
I would really appriciate your help

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-06-2012, 11:14 PM by Lizard.)
07-06-2012, 10:44 PM
Find


Messages In This Thread
Creating sounds? - by Lizard - 07-06-2012, 10:44 PM
RE: Greating sounds? - by Cruzore - 07-06-2012, 11:14 PM
RE: Greating sounds? - by Lizard - 07-06-2012, 11:22 PM
RE: Creating sounds? - by Cruzore - 07-06-2012, 11:25 PM
RE: Creating sounds? - by Lizard - 07-06-2012, 11:39 PM
RE: Creating sounds? - by Cruzore - 07-06-2012, 11:41 PM
RE: Creating sounds? - by Lizard - 07-06-2012, 11:43 PM



Users browsing this thread: 1 Guest(s)