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
Help scripting an event when looking at an area
Tryed Offline
Junior Member

Posts: 10
Threads: 3
Joined: Feb 2011
Reputation: 0
#1
Help scripting an event when looking at an area

Hello
I'm trying to script an event that happens when you LOOK AT an area, but with no success. Actually I have no clue if its possible/how its done Sad

I've been trying these lines

* Callback syntax: MyFunc(string &in entity, int alState) state: 1=looking, -1=not looking
*/
void  SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt);

But with no success. I'm completely lost here.
Any help would be appreciated Shy
02-11-2011, 09:07 AM
Find


Messages In This Thread
Help scripting an event when looking at an area - by Tryed - 02-11-2011, 09:07 AM



Users browsing this thread: 1 Guest(s)