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
Action Door Level
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...