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 which activates a sound when you pick up something. Help please
LulleBulle Offline
Member

Posts: 101
Threads: 33
Joined: Feb 2012
Reputation: 0
#3
RE: Script which activates a sound when you pick up something. Help please

void OnStart()
{
void SetEntityCallbackFunc("letterone", "PickUp");
}

void PickUp(string &asEntity, string &in type)
{
PlaySoundAtEntity("Play", "SoundFileHere", "Player", 0, false);
}
(This post was last modified: 04-18-2012, 10:42 PM by LulleBulle.)
04-18-2012, 10:39 PM
Find


Messages In This Thread
RE: Script which activates a sound when you pick up something. Help please - by LulleBulle - 04-18-2012, 10:39 PM



Users browsing this thread: 1 Guest(s)