antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Loleiro

[Dúvida] Quest Feita Por Mim

Question

[/b]quest bookshop begin state start begin  when 9004.click begin   say_title("Olá eu sou a Biblioteca")   say_title("Aqui poderas encontrar alguns livros.")   say_title("Queres dar uma vista de olhos?")   say("")   say ( "Visualizar a Loja?" )   local maledettiz = select ( "Abrir Biblioteca 1" , "Não Abrir" )   if maledettiz == 1 then    npc.open_shop (25)   elseif maledettiz == 2 then   end  end endend[b]

Bom a minha quest é esta, eu queria ter outra opção para abrir a biblioteca 2 Por exemplo

[/b]quest bookshop begin state start begin  when 9004.click begin   say_title("Olá eu sou a Biblioteca 2")   say_title("Aqui poderas encontrar alguns livros.")   say_title("Queres dar uma vista de olhos?")   say("")   say ( "Visualizar a Loja?" )   local maledettiz = select ( "Abrir Biblioteca 2" , "Não Abrir" )   if maledettiz == 1 then    npc.open_shop (26)   elseif maledettiz == 2 then   end  end endend[b]

Alguem me pode meter a opção biblioteca 2 nesta;

[/b]quest bookshop begin state start begin  when 9004.click begin   say_title("Olá eu sou a Biblioteca")   say_title("Aqui poderas encontrar alguns livros.")   say_title("Queres dar uma vista de olhos?")   say("")   say ( "Visualizar a Loja?" )   local maledettiz = select ( "Abrir Biblioteca 1" , "Não Abrir" )   if maledettiz == 1 then    npc.open_shop (25)   elseif maledettiz == 2 then   end  end endend[b]

Share this post


Link to post
Share on other sites

9 answers to this question

  • 0

Feita por ti, tens duas opções e não sabes adicionar uma terceira? o.o

Acho que mentiste um bocadinho.

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

Yap é feita por mim...

Bah editada xd

Ajuda - me lá xD

Edited by ลмэяเ¢ลи๏ (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Quest:

bookshop.quest

quest bookshop beginstate start beginwhen 90004.chat."Biblioteca 1" beginsay_title("Olá eu sou a Biblioteca")say_title("Aqui poderas encontrar alguns livros.")say_title("Queres dar uma vista de olhos?")say("")say ( "Visualizar a Loja?" )local maledettiz = select ( "Abrir Biblioteca 1" , "Não Abrir" )if maledettiz == 1 thennpc.open_shop (26)elseif maledettiz == 2 thenendendendend
bookshop1.quest

quest bookshop beginstate start beginwhen 90004.chat."Biblioteca 2" beginsay_title("Olá eu sou a Biblioteca")say_title("Aqui poderas encontrar alguns livros.")say_title("Queres dar uma vista de olhos?")say("")say ( "Visualizar a Loja?" )local maledettiz = select ( "Abrir Biblioteca 2" , "Não Abrir" )if maledettiz == 1 thennpc.open_shop (25)elseif maledettiz == 2 thenendendendend

Share this post


Link to post
Share on other sites
  • 0

Quest:

bookshop.quest

quest bookshop beginstate start beginwhen 90004.chat."Biblioteca 1" beginsay_title("Olá eu sou a Biblioteca")say_title("Aqui poderas encontrar alguns livros.")say_title("Queres dar uma vista de olhos?")say("")say ( "Visualizar a Loja?" )local maledettiz = select ( "Abrir Biblioteca 1" , "Não Abrir" )if maledettiz == 1 thennpc.open_shop (26)elseif maledettiz == 2 thenendendendend
bookshop1.quest

quest bookshop beginstate start beginwhen 90004.chat."Biblioteca 2" beginsay_title("Olá eu sou a Biblioteca")say_title("Aqui poderas encontrar alguns livros.")say_title("Queres dar uma vista de olhos?")say("")say ( "Visualizar a Loja?" )local maledettiz = select ( "Abrir Biblioteca 2" , "Não Abrir" )if maledettiz == 1 thennpc.open_shop (25)elseif maledettiz == 2 thenendendendend
Tipo eu queria tudo no mesmo Npc, mesmo assim fica o http://cyber-gamers.org/public/style_emoticons/default/451960.gif...

Share this post


Link to post
Share on other sites
  • 0
local maledettiz = select ("Abrir Biblioteca1", "Abrir Biblioteca 2", "Não Abrir")if maledettiz == 1 thennpc.open_shop(25)elseif maledettiz == 2 thennpc.open_shop(id)elseif maledetizz == 3 thenend

Share this post


Link to post
Share on other sites
  • 0

Está tudo no mesmo NPC, só que irá aparecer as opções ao clicares nele e não vai logo para a quest.

Cumprimentos;

BOSS.

Share this post


Link to post
Share on other sites
  • 0

Para quê fazer 2 quests quando podes fazer em uma só?

quest bookshop beginstate start beginwhen 90004.chat."Biblioteca 1" beginsay_title("Olá eu sou a Biblioteca")say_title("Aqui poderas encontrar alguns livros.")say_title("Queres dar uma vista de olhos?")say("")say ( "Visualizar a Loja?" )local maledettiz = select ( "Abrir Biblioteca 1" , "Abrir Biblioteca 2", "Não Abrir" )if maledettiz == 1 thennpc.open_shop (26)elseif maledettiz == 2 thennpc.open_shop (idshop)elseif maledettiz == 3 thenreturnendendendend

PS: Quest não foi feita por ti ... "maledettiz" Claro ... xD

Cumprimentos.

Share this post


Link to post
Share on other sites
  • 0

Para quê fazer 2 quests quando podes fazer em uma só?

[/b][/i][i][b][color=#000000]quest bookshop [/color][color=#000088]begin[/color][color=#000000]state start [/color][color=#000088]begin[/color][color=#000088]when[/color][color=#000000] [/color][color=#006666]90004.chat[/color][color=#666600].[/color][color=#008800]"Biblioteca 1"[/color][color=#000000] [/color][color=#000088]begin[/color][color=#000000]say_title[/color][color=#666600]([/color][color=#008800]"Olá eu sou a Biblioteca"[/color][color=#666600])[/color][color=#000000]say_title[/color][color=#666600]([/color][color=#008800]"Aqui poderas encontrar alguns livros."[/color][color=#666600])[/color][color=#000000]say_title[/color][color=#666600]([/color][color=#008800]"Queres dar uma vista de olhos?"[/color][color=#666600])[/color][color=#000000]say[/color][color=#666600]([/color][color=#008800]""[/color][color=#666600])[/color][color=#000000]say [/color][color=#666600]([/color][color=#000000] [/color][color=#008800]"Visualizar a Loja?"[/color][color=#000000] [/color][color=#666600])[/color][color=#000088]local[/color][color=#000000] maledettiz [/color][color=#666600]=[/color][color=#000000] [/color][color=#000088]select[/color][color=#000000] [/color][color=#666600]([/color][color=#000000] [/color][color=#008800]"Abrir Biblioteca 1"[/color][color=#000000] [/color][color=#666600], "Abrir Biblioteca 2",[/color][color=#000000] [/color][color=#008800]"Não Abrir"[/color][color=#000000] [/color][color=#666600])[/color][color=#000088]if[/color][color=#000000] maledettiz [/color][color=#666600]==[/color][color=#000000] [/color][color=#006666]1[/color][color=#000000] [/color][color=#000088]then[/color][color=#000000]npc[/color][color=#666600].[/color][color=#000000]open_shop [/color][color=#666600]([/color][color=#006666]26[/color][color=#666600])[/color][color=#000000]elseif maledettiz [/color][color=#666600]==[/color][color=#000000] [/color][color=#006666]2[/color][color=#000000] [/color][color=#000088]then[/color]npc.open_shop(25)elseif maledettiz == 3 thenreturn[color=#000088]end[/color][color=#000088]end[/color][color=#000088]end[/color][color=#000088]end[/color][/b][/i][i][b]

PS: Quest não foi feita por ti ... "maledettiz" Claro ... xD

Cumprimentos.

Saiu-te mesmo mal...

Share this post


Link to post
Share on other sites
  • 0

local maledettiz = select ("Abrir Biblioteca1", "Abrir Biblioteca 2", "Não Abrir")if maledettiz == 1 thennpc.open_shop(25)elseif maledettiz == 2 thennpc.open_shop(id)elseif maledetizz == 3 thenend
http://cyber-gamers.org/public/style_emoticons/default/451960.gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this