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
Sounds not becoming "de-active"
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#4
RE: Sounds not becoming "de-active"

(05-07-2011, 06:45 PM)Dominic0904 Wrote:
(05-07-2011, 06:35 PM)Khyrpa Wrote: you have to use: StopSound(string& asSoundName, float afFadeTime);
then use this to Play it: FadeInSound(string& asSoundName, float afFadeTime, bool abPlayStart);

Just to confirm, say i wanted to stop "guardian_scream1"

I would write it as:
StopSound(string& asguardian_scream1, float afFadeTime);

right? or am I doing that wrong?

strings need to be in quotes, and a float is a number with a decimal Smile
StopSound("guardian_scream1", 2.0f);
(This post was last modified: 05-07-2011, 06:53 PM by Roenlond.)
05-07-2011, 06:52 PM
Find


Messages In This Thread
Sounds not becoming "de-active" - by Dominic0904 - 05-07-2011, 05:51 PM
RE: Sounds not becoming "de-active" - by Khyrpa - 05-07-2011, 06:35 PM
RE: Sounds not becoming "de-active" - by Roenlond - 05-07-2011, 06:52 PM



Users browsing this thread: 1 Guest(s)