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


Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do i add Sounds/Voices to my Custom Story
Quick Offline
Junior Member

Posts: 3
Threads: 0
Joined: Jul 2012
Reputation: 0
#20
RE: How do i add Sounds/Voices to my Custom Story

(07-24-2012, 11:17 PM)i3670 Wrote: You name whatever you want and just use
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);



Plays music.




asMusicFile - the music to play + extension .ogg


abLoop - determines whether a music track should loop


afVolume - volume of the music


afFadeTime - time in seconds until music reaches full volume


alPrio - priority of the music. Note that only the music with the highest priority can be heard! 0 - highest, 1 - lower, etc
Works like a charm, thanks a lot!
07-25-2012, 12:08 PM
Find


Messages In This Thread
RE: How do i add Sounds/Voices to my Custom Story - by Quick - 07-25-2012, 12:08 PM



Users browsing this thread: 1 Guest(s)