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 Help Cant get this music in map to wrok
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Cant get this music in map to wrok

(01-04-2012, 01:08 AM)jessehmusic Wrote: Hey i cant get this music to work ingame :S
this is what i have in script for the sound "PlayMusic("ambience_voice.ogg", true, 3, 1, 0, true);
StopMusic(1, int alPrio);"

In the stopmusic i dont understand the last one any tip
It's the priority setting for the "PlayMusic"... In this case, it's priority is "0". Change it to something else like 5. For example, like this:

PlayMusic("ambience_voice.ogg", true, 3, 1, 5, true);
StopMusic(1, 5);

01-04-2012, 01:30 AM
Find


Messages In This Thread
RE: Cant get this music in map to wrok - by Statyk - 01-04-2012, 01:30 AM



Users browsing this thread: 1 Guest(s)