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
Help for my custom story
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#2
RE: Help for my custom story

void 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

After the player is in area (for example of course) you set music. That's all

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
07-07-2011, 12:06 PM
Find


Messages In This Thread
Help for my custom story - by narutohokager - 07-07-2011, 01:23 AM
RE: Help for my custom story - by Paulpolska - 07-07-2011, 12:06 PM
RE: Help for my custom story - by narutohokager - 07-07-2011, 02:39 PM
RE: Help for my custom story - by Khyrpa - 07-07-2011, 02:59 PM
RE: Help for my custom story - by narutohokager - 07-07-2011, 09:46 PM
RE: Help for my custom story - by narutohokager - 07-09-2011, 06:22 PM
RE: Help for my custom story - by Kyle - 07-09-2011, 06:36 PM
RE: Help for my custom story - by Khyrpa - 07-09-2011, 06:37 PM
RE: Help for my custom story - by Kyle - 07-09-2011, 06:41 PM
RE: Help for my custom story - by narutohokager - 07-10-2011, 11:39 AM



Users browsing this thread: 1 Guest(s)