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?
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#3
RE: Remove a PlayerInteractCallback through script?

(02-09-2012, 12:41 PM)palistov Wrote: 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.
Nvm. Will try.
Yes, it worked! Thanks.

Current - Castle Darkuan
Other - F*cked Map
(This post was last modified: 02-09-2012, 12:59 PM by Shadowfied.)
02-09-2012, 12:43 PM
Find


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



Users browsing this thread: 1 Guest(s)