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
GetEntityExists
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#5
RE: GetEntityExists

I think I know why it doesn't work. It's because the StopMusic and PlayMusic function commands are in the same function happening nearly at the same time and they both have the same priority.

Change the "PlayMusic" function command to this:

PlayMusic("01_amb_darkness", true, 100, 1.5, 1, true);


Also to note that when you stop the music for this music that you just started, make sure that it looks like this:

StopMusic(0.5, 1);

Make sure that this edited "StopMusic" function command should NOT be in the part of the script that you shown everyone. Smile

(This post was last modified: 08-02-2011, 08:37 PM by Kyle.)
08-02-2011, 01:30 PM
Find


Messages In This Thread
GetEntityExists - by MrCookieh - 08-02-2011, 11:57 AM
RE: GetEntityExists - by Kyle - 08-02-2011, 01:00 PM
RE: GetEntityExists - by MrCookieh - 08-02-2011, 01:14 PM
RE: GetEntityExists - by Your Computer - 08-02-2011, 01:28 PM
RE: GetEntityExists - by Kyle - 08-02-2011, 01:30 PM
RE: GetEntityExists - by MrCookieh - 08-02-2011, 02:21 PM
RE: GetEntityExists - by DRedshot - 08-02-2011, 02:34 PM
RE: GetEntityExists - by MrCookieh - 08-02-2011, 02:39 PM
RE: GetEntityExists - by DRedshot - 08-02-2011, 02:44 PM



Users browsing this thread: 1 Guest(s)