• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [NPC] Quest

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1[NPC] Quest Empty [NPC] Quest Jue Oct 26, 2017 5:26 pm

    cimmeria

    cimmeria
    Miembro
    Miembro
    Hola ando buscando un npc, el cual pida 2 objetos como mission y deja pasar por un puerta si alguien conoce alguno estaria agradecido mi servidor es 8.6
    The Forgotten Server 0.4_SVN gracias

    2 participantes
    http://sayayinz.ddns.net

    2[NPC] Quest Empty Re: [NPC] Quest Jue Oct 26, 2017 8:29 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    aqui tienes un ejemplo

    [Tienes que estar registrado y conectado para ver este vínculo]



    [NPC] Quest YNU5B25
    2 participantes
    http://www.tibiaface.com

    3[NPC] Quest Empty Re: [NPC] Quest Vie Oct 27, 2017 2:40 am

    cimmeria

    cimmeria
    Miembro
    Miembro
    gracias maya Razz Rep+

    solo una cosa una puerta que pida storage intente agregar a ala puerta actiond id el numero de storage que teda que es 45550 pero nada si me pudieras echar una mano no encuentro ninguno por el buscdor asin

    2 participantes
    http://sayayinz.ddns.net

    4[NPC] Quest Empty Re: [NPC] Quest Vie Oct 27, 2017 8:43 am

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Código:
    function onUse(cid, item, frompos, item2, topos)
    if (getPlayerStorageValue(cid,5500) > 0) then
                pos = getPlayerPosition(cid)
                if pos.x == topos.x then
                  if pos.y < topos.y then
                      pos.y = topos.y + 1
                  else
                      pos.y = topos.y - 1
                  end
                elseif pos.y == topos.y then
                      if pos.x < topos.x then
                          pos.x = topos.x + 1
                      else
                          pos.x = topos.x - 1
                      end
                else
                    doPlayerSendTextMessage(cid,22,"you need stand front of the door!.")
                return true
                end
                doTeleportThing(cid,pos)
                doSendMagicEffect(topos,12)
            else
            doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "you dont have access in this area")
            end
            return true
    end

    if (getPlayerStorageValue(cid,5500) > 0) then -------> storange que entrega el npc cambiar

    Código:
    <action uniqueid="xxxx" event="script" value="doorquest.lua"/>

    xxxx-----> unique id que no uses y tendras que añadir a la puerta con el rme



    [NPC] Quest YNU5B25
    2 participantes
    http://www.tibiaface.com

    5[NPC] Quest Empty Re: [NPC] Quest Vie Oct 27, 2017 9:05 am

    cimmeria

    cimmeria
    Miembro
    Miembro
    gracias todo funciono de ptm REp+

    2 participantes
    http://sayayinz.ddns.net

    Contenido patrocinado


    2 participantes

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).