(07-02-2012, 09:08 PM)ZyLogicX Wrote: I have been trying to get examples from the main game, but it doesn't give me any direction where to go.
How would I approach said script?
.
Select your note in the level editor and open the Entity menu to the right. Put in PickNote_01 at the CallbackFunc-box and save.
Use this function in your hps script file and choose which music you want to play:
void PickNote_01(string &in entity, string &in type)
{
PlayMusic("nameofyourmusicfile.ogg", false, 0.7f, 0, 10, false);
}