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
PlayerLookAtCallback not working
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: PlayerLookAtCallback not working

You don't change any parameters in the function. It should be:

void LookAtCorpses(string &in entity, int alState)
{
    if(alState == 1) PlaySoundAtEntity("", "04_break02.snt", "Player", 3.0f, true);
}

10-16-2010, 05:16 PM
Find


Messages In This Thread
PlayerLookAtCallback not working - by Frontcannon - 10-16-2010, 04:14 PM
RE: PlayerLookAtCallback not working - by Pandemoneus - 10-16-2010, 05:16 PM
RE: PlayerLookAtCallback not working - by Entih - 10-16-2010, 06:04 PM
RE: PlayerLookAtCallback not working - by Entih - 10-16-2010, 08:25 PM



Users browsing this thread: 1 Guest(s)