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
PlayerLookAtEntiy error?
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#3
RE: PlayerLookAtEntiy error?

void scare1(string &in entity, int alState)
{
if(alState == -1) AddDebugMessage("DebugMessage", false);
else if (alState == 1)
{
PlayGuiSound("react/react_scare6.ogg", 1);
GiveSanityDamage(20, true);
return;
}
}

alstate = -1 not looking
alstate = 1 looking

[Image: mZiYnxe.png]


05-12-2011, 08:00 PM
Find


Messages In This Thread
PlayerLookAtEntiy error? - by X4anco - 05-12-2011, 07:27 PM
RE: PlayerLookAtEntiy error? - by Khyrpa - 05-12-2011, 07:43 PM
RE: PlayerLookAtEntiy error? - by Acies - 05-12-2011, 08:00 PM



Users browsing this thread: 1 Guest(s)