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
Scripting
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Scripting

PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
PHP Code: (Select All)
PlayMusic("The_Patronus_Light.ogg"true0.001false); 
Yeah, your PlayMusic volume is set to 0. That's why you cant hear it.

Use this instead;
PHP Code: (Select All)
PlayMusic("The_Patronus_Light.ogg"true1.001false); 

Edit: Please use the Development Support forum in future when dealing with Custom Story scripts Smile http://www.frictionalgames.com/forum/forum-39.html
A moderator will move this thread eventually.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 03-12-2014, 06:32 AM by Romulator.)
03-12-2014, 06:29 AM
Find


Messages In This Thread
Scripting - by physcostealth - 03-12-2014, 05:52 AM
RE: Scripting - by Romulator - 03-12-2014, 06:29 AM
RE: Scripting - by physcostealth - 03-12-2014, 06:35 AM
RE: Scripting - by Romulator - 03-12-2014, 07:27 AM
RE: Scripting - by physcostealth - 03-12-2014, 07:54 AM
RE: Scripting - by physcostealth - 03-12-2014, 08:05 AM
RE: Scripting - by Romulator - 03-12-2014, 08:04 AM
RE: Scripting - by Romulator - 03-12-2014, 08:05 AM



Users browsing this thread: 2 Guest(s)