The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 HUGE PROBLEM!
lllDash Offline
Member

Posts: 108
Threads: 12
Joined: Apr 2012
Reputation: 3
#1
Sad  SetEntityPlayerLookAtCallback HUGE PROBLEM!

Let me cut to the chase. This is what I did


void OnEnter()
{
SetEntityPlayerLookAtCallback("ritual_prisoner_1", "bodysound", true);
}

void bodysound(string &in asEntity, int alState)
{
SetEntityActive("ritual_prisoner_1", false);
PlaySoundAtEntity("", "scare_male_terrified5.snt", "ScriptArea_26", 0, false);
}



Nothing happens. I did a search on google for: "SetEntityPlayerLookAtCallback" And I found many post on this same problem: Nothing happens.

Does SetEntityPlayerLookAtCallback even work? Or is it a just dud? Am I doing anything wrong? Help would be appreciated
(This post was last modified: 10-27-2012, 11:45 AM by lllDash.)
10-27-2012, 11:43 AM
Find


Messages In This Thread
SetEntityPlayerLookAtCallback HUGE PROBLEM! - by lllDash - 10-27-2012, 11:43 AM



Users browsing this thread: 1 Guest(s)