01-11-2012, 06:42 AM
Hello I need some help with my Custom Map level_01.hps file i written it but then it says expected identifier
void OnStart()
{
AddEntityCollideCallback("Player", "musicareabasement", "MusicPlay", true, 1);
}
MusicPlay("Player", "musicareabasement", 0);
PlayMusic("Music_01.ogg" , true , 10 , 2.0f , 0 , true);
Its my first script ever and that is all that is in the file but at (8,10) and (10,10) it says ERR: Expected Identifier.
Can someone please help me?
void OnStart()
{
AddEntityCollideCallback("Player", "musicareabasement", "MusicPlay", true, 1);
}
MusicPlay("Player", "musicareabasement", 0);
PlayMusic("Music_01.ogg" , true , 10 , 2.0f , 0 , true);
Its my first script ever and that is all that is in the file but at (8,10) and (10,10) it says ERR: Expected Identifier.
Can someone please help me?