• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Ladder problem

zaptos

New Member
Joined
May 16, 2019
Messages
36
Reaction score
4
65636b211276f7857d01d0a583abadc2.gif



Stairs wont work when item above it. any suggestions? i have this script

Code:
local upFloorIds = {1386, 3678, 5543, 22845, 22846}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if isInArray(upFloorIds, item.itemid) then
        fromPosition:moveUpstairs()
    else
        fromPosition.z = fromPosition.z + 1
    end
    player:teleportTo(fromPosition, false)
    return true
end
 
Last edited:
ladder should have force use property, this way it always takes ladder as the first one when clicking at tile items.
 
Back
Top