#Message not appearing while holding item

1 messages · Page 1 of 1 (latest)

fathom night
#

So, i've created this script where you have to bring a sandwich to a rat to receive a key.
What is does is:
-Click rat without sandwich: message "the rat looks hungry"
-Click rat with sandwich in inventory: message "the rat drops a key"

Now it does show the message when not holding the sandwich in hands (from inventory). But not when holding it in hands.

dense raven
#

You should iterate through every items not find first child in the findItem function

fathom night
#

Allright, let me figure that out 😊

velvet dragonBOT
#

studio** You are now Level 1! **studio

fathom night
#

Fixed! Thanks 🙂 Guess i'm gotta use the same solution for my door aswell. 🙂