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 Help PlayerLookAt?
Dobbydoo Offline
Member

Posts: 50
Threads: 6
Joined: Aug 2011
Reputation: 0
#2
RE: PlayerLookAt?

PHP Code: (Select All)
void OnStart()
 {
 
SetEntityPlayerLookAtCallback("PlayerLookAt""FlipOut"false);
 }
 
 
void FlipOut(string &in asEntityint alState)
 {
//If looking
if(alState == 1)
{
 
FadeRadialBlurTo(0.1f2);
}
 
//If not looking
if(alState == -1)
 {
   
FadeRadialBlurTo(0.0f0);
 }


I think this should work Smile
01-29-2012, 11:20 AM
Find


Messages In This Thread
PlayerLookAt? - by Tripication - 01-29-2012, 10:35 AM
RE: PlayerLookAt? - by Dobbydoo - 01-29-2012, 11:20 AM
RE: PlayerLookAt? - by Tripication - 01-29-2012, 12:38 PM



Users browsing this thread: 1 Guest(s)