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
Remove a PlayerInteractCallback through script?
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Remove a PlayerInteractCallback through script?

You can use a local variable. Set it to 1 if the conditions under which you do NOT want the interaction callback to occur are met, and simply check the variable when the player interacts with the door. If it is 1, do your stuffs. Otherwise, do nothing.

02-09-2012, 12:41 PM
Find


Messages In This Thread
RE: Remove a PlayerInteractCallback through script? - by palistov - 02-09-2012, 12:41 PM



Users browsing this thread: 1 Guest(s)