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
setEntityPlayerLookAtCallback problems
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: setEntityPlayerLookAtCallback problems

Yep! We use an if conditional here.

Try this:
PHP Code: (Select All)
void barLoose(string &in asEntityint alState)
{
    if(
alState == 1)               //Check if we're looking AT. -1 for Looking away.
    
{
        
SetMessage("Messages""barloose"2);
    }


Discord: Romulator#0001
[Image: 3f6f01a904.png]
06-26-2015, 01:44 PM
Find


Messages In This Thread
RE: setEntityPlayerLookAtCallback problems - by Romulator - 06-26-2015, 01:44 PM



Users browsing this thread: 1 Guest(s)