Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

Action Door Level

$
0
0
Hello, I would like some help,
I'm trying to put an action for this type of door with level 250+ This door is not normal, I would like this door because as you pass it closes, it is not open.
Can anybody help me? Can I use storage?

Base OTServBr-Global 12x

Code:
function onStepIn(creature, item, position, fromPosition)
    if not creature:isPlayer() then
        return false
    end

    if creature:getLevel() < item.actionid - 250 then...
Action Door Level

Viewing all articles
Browse latest Browse all 32017

Trending Articles