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
Scripting help needed
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Scripting help needed

Try taking the RemoveEntityCollideCallback("Player", "AreaActivateGrunt"); out and instead changing the boolean value regarding auto-remove callback on collide to true. Then change your if statement to re-add the collide callback if the player doesn't have the lantern. I've been staring at your script and nothing looks wrong.

I have however, experienced issues with removing collide callbacks in a function that is called by the collision itself.

(This post was last modified: 05-28-2011, 07:20 AM by palistov.)
05-28-2011, 07:18 AM
Find


Messages In This Thread
Scripting help needed - by willochill - 05-28-2011, 04:47 AM
RE: Scripting help needed - by palistov - 05-28-2011, 07:18 AM
RE: Scripting help needed - by willochill - 05-28-2011, 03:55 PM
RE: Scripting help needed - by palistov - 05-29-2011, 10:29 AM



Users browsing this thread: 1 Guest(s)