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 How to create a music area trigger?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: How to create a music area trigger?

Quote:void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea1", "MusicPlay", true, 1);

}

void MusicPlay(string &in asParent, string &in asChild, int alState)
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
}

(This post was last modified: 01-01-2012, 05:16 PM by flamez3.)
01-01-2012, 05:15 PM
Find


Messages In This Thread
How to create a music area trigger? - by Viuffuz - 01-01-2012, 01:35 PM
RE: How to create a music area trigger? - by flamez3 - 01-01-2012, 05:15 PM



Users browsing this thread: 1 Guest(s)