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
Script Help Checks whether you got an item
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Checks whether you got an item

(10-25-2011, 12:29 PM)flamez3 Wrote: It's not working for my lantern?

Maybe the lantern gets treated the same way as tinderboxes. I haven't tested it if that's true, but an alternative method would be to use an interact callback on the lantern and set a global variable in the callback. Then instead of using HasItem to check for a lantern (assuming you're trying to check if user has a lantern in their inventory), you just check if the global variable is set.

Tutorials: From Noob to Pro
10-25-2011, 04:50 PM
Website Find


Messages In This Thread
Checks whether you got an item - by flamez3 - 10-25-2011, 08:45 AM
RE: Checks whether you got an item - by jens - 10-25-2011, 11:31 AM
RE: Checks whether you got an item - by Apjjm - 10-25-2011, 11:33 AM
RE: Checks whether you got an item - by flamez3 - 10-25-2011, 12:29 PM
RE: Checks whether you got an item - by Your Computer - 10-25-2011, 04:50 PM



Users browsing this thread: 1 Guest(s)