Hello i need a bit of help with a Label in my script im making
I want to use a item in my backpack on a special item on the floor/wall so when it comes on the label it does the script and then keeps walking
Is it possible to make that one something more like this
ItemID = 1234 -- item to use on
ItemToUse = 1234 -- Item To Use
elseif (labelName == "123456789") then
for x = -7, 7 do
for y = -7, 7 do
if Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id = ItemID then
Self.UseItemWithGround(ItemToUse, Self.Position().x + x, Self.Position().y + y, Self.Position().z)
break
end
end
But the one i made above is not working for me (and yes its in the middle of the script)