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
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#19
RE: How do i add Sounds/Voices to my Custom Story

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

"What you think is irrelevant" - A character of our time

A Christmas Hunt
07-24-2012, 11:17 PM
Find


Messages In This Thread
RE: How do i add Sounds/Voices to my Custom Story - by i3670 - 07-24-2012, 11:17 PM



Users browsing this thread: 1 Guest(s)