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] Music Play Area.
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: [SCRIPT HELP] Music Play Area.

You have done void OnStart right but you have no syntax or void. Use this:

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

}

void MusicPlay(string &in asParent, string &in asChild, int alState)
{
PlayMusic("Music_01.ogg" , true , 10 , 2.0f , 0 , true);

}

For future reference, post anything that you need help in http://www.frictionalgames.com/forum/forum-39.html

(This post was last modified: 01-11-2012, 07:00 AM by flamez3.)
01-11-2012, 06:57 AM
Find


Messages In This Thread
RE: [SCRIPT HELP] Music Play Area. - by flamez3 - 01-11-2012, 06:57 AM



Users browsing this thread: 1 Guest(s)