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
Scipt Which activates a sound when you pickup a note HELP not working
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#2
RE: Scipt Which activates a sound when you pickup a note HELP not working

You can look up how FG did it in Amnesia.

They basically type in the CallbackFunc window the name of the callback and then script it like this.

void PickNoteToSelf(string &in entity, string &in type)
{
PlayMusic("01_paper_self.ogg", false, 0.7f, 0, 10, false);

}

"What you think is irrelevant" - A character of our time

A Christmas Hunt
04-18-2012, 05:27 PM
Find


Messages In This Thread
RE: Scipt Which activates a sound when you pickup a note HELP not working - by i3670 - 04-18-2012, 05:27 PM



Users browsing this thread: 1 Guest(s)