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
Interact scare help.
Itskody Offline
Member

Posts: 100
Threads: 30
Joined: Mar 2011
Reputation: 1
#5
RE: Interact scare help.

Thanks Very much
(03-25-2011, 05:29 AM)MrBigzy Wrote: You would use the script function: SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt);

The syntax for the function it calls is: MyFunc(string &in entity, int alState) state: 1=looking, -1=not looking

You'd then put whatever you want him to do in that function.

How do i do that, where do i put them on my script? both on the OnStart or what?

AND do i need to add a script to my level for it to work?
(This post was last modified: 03-25-2011, 07:15 PM by Itskody.)
03-25-2011, 06:51 PM
Find


Messages In This Thread
Interact scare help. - by Itskody - 03-25-2011, 01:31 AM
RE: Interact scare help. - by Pandemoneus - 03-25-2011, 01:37 AM
RE: Interact scare help. - by Itskody - 03-25-2011, 01:41 AM
RE: Interact scare help. - by MrBigzy - 03-25-2011, 05:29 AM
RE: Interact scare help. - by Itskody - 03-25-2011, 06:51 PM



Users browsing this thread: 1 Guest(s)