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
Request I want toactivate a sound when i pickup a note below is a script HELP!!
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#6
RE: I want toactivate a sound when i pickup a note below is a script HELP!!

{
SetEntityCallbackFunc("ITEMS NAME", "PickUpNote1");
}
void PickUpNote1(string &in asEntity)
{
PlaySoundAtEntity("NoteRoar", "insanity_monster_roar03.snt", "Note1Roar", 0, false);
}
The FUNCTION is the functions name after the void.Then rename the ITEMS NAME with your notes name.

04-18-2012, 05:37 PM
Find


Messages In This Thread
RE: I want toactivate a sound when i pickup a note below is a script HELP!! - by Datguy5 - 04-18-2012, 05:37 PM



Users browsing this thread: 1 Guest(s)