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
[SCRIPT] Musik won't play [Solved]
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: [SCRIPT] Musik won't play

You're using PlayMusic, but that is the signature of the PlaySoundAtEntity.
Spoiler below!

PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);

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 - lowest, 1 - higher, etc.
abResume - if true, playback will be continued from where the track stopped after the call to StopMusic(); if false, the track will be restarted.


And this it the wrong section. If you want to ask questions regarding CS development go to the Development Support please.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 02-23-2014, 12:02 PM by PutraenusAlivius.)
02-23-2014, 12:00 PM
Find


Messages In This Thread
[SCRIPT] Musik won't play [Solved] - by ethics - 02-23-2014, 11:26 AM
RE: [SCRIPT] Musik won't play - by PutraenusAlivius - 02-23-2014, 12:00 PM
RE: [SCRIPT] Musik won't play - by ethics - 02-26-2014, 05:58 PM
RE: [SCRIPT] Musik won't play - by DnALANGE - 02-23-2014, 04:40 PM
RE: [SCRIPT] Musik won't play - by davide32 - 02-23-2014, 10:21 PM
RE: [SCRIPT] Musik won't play - by DnALANGE - 02-23-2014, 11:08 PM
RE: [SCRIPT] Musik won't play - by davide32 - 02-24-2014, 01:57 PM
RE: [SCRIPT] Musik won't play - by Mudbill - 02-26-2014, 06:33 PM
RE: [SCRIPT] Musik won't play - by RedKnight - 02-27-2014, 07:00 AM
RE: [SCRIPT] Musik won't play - by Romulator - 02-27-2014, 07:25 AM



Users browsing this thread: 2 Guest(s)