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
HasItem problem [SOLVED]
Dalroc Offline
Member

Posts: 57
Threads: 2
Joined: Mar 2011
Reputation: 0
#8
RE: HasItem problem

Spotted the problem (I think). You are destroying the Callback when it's triggered the first time.
Set abDeleteOnCollide to false and it should work.. You will have to find another way to remove the Callback only when you have the item. Example would be to use a variable and add a condition to your if conditional to only execute when the player has the key AND when the variable has the right value.
04-10-2011, 12:12 AM
Find


Messages In This Thread
HasItem problem [SOLVED] - by Linus Ågren - 04-09-2011, 07:58 AM
RE: HasItem problem - by Pandemoneus - 04-09-2011, 09:51 AM
RE: HasItem problem - by Linus Ågren - 04-09-2011, 11:37 AM
RE: HasItem problem - by Dalroc - 04-09-2011, 01:36 PM
RE: HasItem problem - by Linus Ågren - 04-09-2011, 11:25 PM
RE: HasItem problem - by Dalroc - 04-09-2011, 11:44 PM
RE: HasItem problem - by Linus Ågren - 04-09-2011, 11:57 PM
RE: HasItem problem - by Dalroc - 04-10-2011, 12:12 AM
RE: HasItem problem - by Linus Ågren - 04-22-2011, 01:51 PM
RE: HasItem problem [SOLVED] - by Dalroc - 04-22-2011, 03:52 PM



Users browsing this thread: 1 Guest(s)