Jump to content

Recommended Posts

Posted

map: Questshop1 ,Questshop2

example

1st npc [Level 1 Quest]

requirements

607,100;

pag katpos nya matapos ung level 1 quest makakawarp na sya sa sa Questshop 1

tapos bago nya din makausap ung quest shop 2 dpat matapos nyo muna ung quest shop 1 qng hindi hindi sya makakapag quest sa quest shop 2

 

2nd npc [level 2 quest]

requirements

607,200;

pag katapos nito makakawarp na sya sa mapa ng QuestShop2

Posted

Typical quest can be done using getitem, delitem and countitem.

prontera,150,150,0    script    Quest1    100,{
    // when done 
    set #done, 1; // Remove # if you want it to be character based
    end;
}

prontera,100,100,0    script    Quest2    100,{
    if ( #done ) {
        // You complete Quest1 do anything...
    } else {
        // You don't complete Quest1 yet. Either terminate or do anything
    }
}
  • 2 weeks later...
Posted

sir can you help me more :) can you add the name of the player who complete the quest? :) and also the format ? :)

 

// when done 
set #done, 1; // Remove # if you want it to be character based
announce strcharinfo(0)+ " has completed the quest!",0; // <- add

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...