Jump to content
  • 0
Sign in to follow this  
MichelEckhardt

Scripting Porta de dwacatradoor nao abre

Question

MichelEckhardt    1
MichelEckhardt

The OTX Server Global - Version: (3.10)

Pessoal essa porta que da acesso ao bau para pegar o family brooch esta me trollando.

Spoiler

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.ExplorerSociety.QuestLine) == 2 then
        if item.itemid == 5105 then
            player:teleportTo(toPosition, true)
            item:transform(item.itemid + 1)
        end
    else
        player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The door seems to be sealed against unwanted intruders.")
    end
    return true
end

 

ele tem que abrir somente se o QuestLine = 2, porem ela nao abre e da a mensagem do ELSE

e a QuestLine  esta justamente no 2

OBS: EU PASSEI POR ELA COM O COMMANDO DO GOD

Spoiler

Screenshot_15.png.d2b6e11d11cb0df6a8a34cda0c8f27f3.png

Screenshot_16.png.30e89b5c9bfea451674a02f7787fd213.png

 

Edited by MichelEckhardt

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
MichelEckhardt    1
MichelEckhardt

descobri que a versao do otx no git esta  com bastante coisa para se fazer, essa porta ai nao tem action, por isso nao estava funciondo.

podem finalizar o topico!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×