ifItemInSlot / ifItemInHand (V2)Two variable events that check if the user has/is holding an item.
InstructionsSelf -> ifItemInSlot [SLOT] [ITEM] [SEARCH INVENTORY?]
Self -> ifItemInHand [ITEM]
[SLOT] is the slot you would like to check in.
[ITEM] is the item you would like to check for. "NONE" checks for the absence of an item.
[SEARCH INVENTORY?] determines if you want to search the entire inventory or not.
This event requires
Variable Events V.3! It uses VariableTrue/VariableFalse for the results.
NotesYou can ignore [SLOT] if you have [SEARCH INVENTORY?] checked off, since it searches all slots.
By searching all slots for "NONE," you're checking to see if the user is able to recieve another item.
Now things are possible that used to require scripts, like keys for doors and axes for cutting trees!
ProblemsNo problems have been found, including console errors.
Please report any if you find them!
DownloadWillHostForFood:
Event_ifItemInSlot.zipReturn To Blockland:
Event_ifItemInSlot.zip(Last updated on: 11/3/08 at 4:30 P.M. EST.)
InstallationSave Event_ifItemInSlot.zip into the Add-Ons folder in your Blockland folder.